351 Posted Topics
Re: Welcome to Daniweb! I would advice you to learn about HTML first since you said you have no knowledge about it. It's just a markup language and would be very easy for you to pick up. After that, you can learn about some client-side scripting, which is also not difficult … | |
| |
Re: You can also convert the integer into a string, and then retrieve the particular nth placed digit of the string. | |
Re: We do have elder members here. How would u know u r the oldest here? Anyway, welcome to Daniweb! | |
Re: Hi welcome to Daniweb! You can look under the web development section, there's a php subsection down there. | |
Re: Local variables are stored in the call stack, together with the return address and passing parameters. Instructions are stored in the code segment, which is usually at the lower part of the memory to prevent stack overflow from overwriting it. | |
Re: The conversation between the computer and interogator is funny. :) | |
Re: Your swap function is entirely wrong. You need to pass pointers to integers as the parameters, and do the swapping by writing to where the pointer points to. | |
Re: First parameter is wrong. Use char* instead of char. Are you going to change the value of those variables inside the function? If so, pass pointers or reference, else you can simply pass by values. | |
Re: What language you use? What's your level of proficiency? And how much time you have? | |
Re: Do you really expect people will do it for you? | |
Re: Just browsing through your code. First thing, you don't need a nested while loop. Take out the outer while-loop, set the flag to true & break out of the loop when the answer is correct. Also, I would use bool type for flag variables such as isGuessed. | |
Re: [QUOTE=grisha83;708582]Also, I've been thinking if i really need to promt the user to input value of x How can i make the program to get those int values from 1 to 5 and display all of them?[/QUOTE] No where in the question says you need to prompt the user. You … | |
Re: With minimum change to what you already have: [CODE] while ((grade > 0) && (grade <= 100)) { cout << "Enter the Students Grade Between 1 and 100 (-1 to stop):\n"; cin >> grade; if (grade <= 49) { cout << "F!"<< endl; } else if ((grade == 50)||(grade <= … | |
Re: Welcome to Daniweb! You may wanna post your problem in the hardware section under Tech Talks. | |
Re: Or you prefer everything to be inside one super big library? In that case, your hello world program could become hundreds of megabyte in size because every single program has to link to that one and only library. | |
The End.