351 Posted Topics
Re: Welcome to Daniweb! You sure have a lot of vocations. | |
Re: Hi Anand, welcome to Daniweb! Feel free to contribute in the Java section. | |
Re: Hi welcome to Daniweb! You can post whatever queries you have at the php section. | |
Re: How about teaching your girlfriend some programming? | |
Re: Why not? My credit card is always inside my wallet. Is there any reasons not to carry it around? | |
Re: How about work full-time for a year or two before going for masters? The working experiences might change your perspective and help you make a better decision. | |
Re: I know it isn't free, but does Visio suits your purpose? Or even MS Word can be used to draw blocks and arrows, if that is what you want. | |
Re: I don't know about others but to me putting function declarations inside main is just like a potential time-bomb, even if at this moment your functions do not call each other. | |
![]() | Re: Check this out for big number library: [URL="http://gmplib.org/"]Bignum library[/URL] |
Re: Hi welcome to Daniweb! You can post your problem under Tech Talk, just select the subsection according to your relevant operating system. | |
Re: Hi faith, welcome to Daniweb! Look around and maybe post for suggestion at the Computer Science section. | |
![]() | |
Re: Hi Randy, welcome to the forum! Perhaps you should learn one language at a time so as not to confuse yourself over the syntax. | |
Re: Line 19: Replace << with semicolon ; Line 22: "If" should not be capitalized too | |
Re: Go google "print hello world without semicolon". But its non Ansi C standard because it requires void main(). I am curious why you need to do these silly questions. If this is your assignment, help me ask your tutor. | |
Re: [CODE] int i = 1; STUPID_ASSIGNMENT: printf("%d\n", i); if(i < 100) { i++; goto STUPID_ASSIGNMENT; } [/CODE] Is this the kind of assignment teachers like to give nowadays? | |
Re: I suppose you are using Visual C++. From the little info that you give, you seem to be calling the function AfxMessageBox, but passing parameter that does not match its declaration. We need to see the codes where you call this function, and the full error message (your error message … | |
| |
Re: Hi welcome to Daniweb! VB is rather simple, I used to debug VB codes even though I don't know the syntax. | |
Re: Hi welcome to the forum! Please post your questions under Tech Talk->Microsoft Windows or the relevant sub sections under it. | |
![]() | |
Re: Take away all those semi-colons after the if and else-if statement: [CODE] if (score >= 85); grade = 'A'; else if (score >= 75); grade = 'B'; else if (score >= 65); grade = 'C'; else if (score >= 55); grade = 'D'; else grade = 'F'; [/CODE] | |
Re: These two files are the compiler and linker. You probably have to restart your visual studio, or even reboot your pc, and try it again. You can try to create a simple hello world application and compile, to see if this problem persist. If it persists, then the problem probably … | |
Re: Hi welcome to Daniweb. Don't worry, just enjoy your learning process! | |
| |
Re: You don't need an extra function. Just add one more case option inside the function do_next_op. | |
Re: Read the recruitment sections of the newspaper. Or register to some job seeking site. I don't think this is the right place to look for job. | |
Re: Do you know the difference between declaring a function and calling a function? To declare a function, you do this: [CODE] void instruction(); void divide_by_zero (char, float); float do_next_op (char, float, float); [/CODE] To call a function, you do this: [CODE] instruction(); divide_by_zero (op, num); accum = do_next_op (input, num, … | |
Re: You should choose Win32 Dynamic Linked Library instead of MFC AppWizard (DLL). After choosing that, select "A simple DLL project". Overwrite the original DllMain function that VC++ provides with this DllMain function that you have at the end of your codes: [CODE] bool APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved) … | |
Re: There are a number of ways to get out of the loop. One way is to put the break statement when someone wins the game: [CODE] if (left < 1) { cout << " Player 1, You have one the game!" << endl; break; } [/CODE] Else, you can set … |
The End.