Posts by Rafael Megda • 57 points
8 posts
-
0
votes2
answers184
viewsA: Change image src with javascript
Rodrigo, I believe that the flaw in your code is that you are not comparing when you 1 = because that way you are assigning value to variable and not comparing. In javascript you compare with == or…
-
-1
votes4
answers4002
viewsA: Vscode does not open page in browser
If you are using from version 5.4 of PHP, you can run the command php -S localhost:8000 directly at the terminal/prompt inside your project directory. Then just access the browser through…
-
0
votes1
answer31
viewsA: How to read a file in C but not to count with the header in the counter?
see if that’s what you’d like done: What I changed was to include if(num != 0) to present on the screen and then write to your file, so it reads/writes anything other than line 0; Another point, be…
canswered Rafael Megda 57 -
1
votes2
answers928
viewsA: INT column accepting only positive values
all right? As the friends above mentioned, MYSQL has no way to limit the acceptance of positive numbers only. If you use "unsigned", what it will do is "convert" your negative number to positive,…
-
1
votes2
answers97
viewsA: Reverse process modeling
Hello From the Logical schema in the BR MODEL it is possible to generate only the Physical, which in the BR MODEL is the SQL code. This is a particularly academic software, I do not consider the…
-
-1
votes2
answers32
viewsA: After typing the P Value, you are not running the printf of the second for
Hello, I also found only these mistakes: The second one should be like this: for(i = 0; i<TAM; i++) /*igual em vez de menor*/ You used P as a float but declared it int int p; The colleagues had…
-
0
votes2
answers1330
viewsA: How to show the number that most appears in a vector in the C language?
I’ll send a code that returns the highest frequency of numbers, but which is used for a small range of numbers, I know you want to return the frequency with a higher range of numbers, for that you…
canswered Rafael Megda 57 -
1
votes2
answers377
viewsA: Error to print a C name on the screen using chained list
See if that’s what you need. You have not passed the name reference in the print function, and are not using the variable you declared to store the student name. #include #include #include typedef…