- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 19
- Posts with Upvotes
- 18
- Upvoting Members
- 13
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 3
Since it was made clear to me that my help is not welcome if not delivered in the only admissible language, I see no possibility for me to stay.
Consider this account closed...
Re: I thought the same as sfuo wrote. | |
Re: Then how about [CODE] ReceiptBag bags[] = {"zero", "one"}; ReceiptBag &zero = bags[0]; ReceiptBag &one = bags[1]; [/CODE] :icon_mrgreen: | |
Re: Wenn's nicht im Arbeitsverzeichnis liegt, sondern im 'Suchpfad', sollte eigentlich #include <cnum.h> helfen. P.S. Wenn Du kannst würde ich an deiner Stelle die englische Version von VS nehmen. Microsoft-Deutsch ist schlimm, aber als Compilerfehlermeldungen kann es einen in den Wahnsinn treiben. | |
Re: [QUOTE]op_ovld_unary.cc:18: error: ‘bool co_ordi::operator!(const co_ordi&)’ must take ‘void’[/QUOTE] i.e. bool co_ordi::operator!() must [B]not[/B] take [ICODE]const co_ordi&[/ICODE]. | |
Re: [ICODE]product = base * base;[/ICODE] <-- look here. | |
Re: [QUOTE=WaltP;1740104]And what the heck is [B]50[/B]???? [/QUOTE] The number of rohan-primes between 0 and 200. :icon_mrgreen: | |
Re: I once had to send data (weight of several silos) received on eight RS232 interfaces to a central server. What I did was: Write data continuously to file(s). Every (configurable) time interval I closed the files and sent them via FTP to the server which itself was looking for new … | |
Re: [QUOTE=siabenie;1736830] So the output would be: 022446811 [/QUOTE] You are forgetting the [ICODE]i++[/ICODE] in the [ICODE]for()[/ICODE]. Why don't you just 'ask' your compiler? | |
Re: @zeroliken Chars are integers. No problem there. @Karlwakim I think your problem is srand() is inside your loop. Put it before the loop and you should 'go random'. Rule of thumb: srand() allways only once at the beginning of your main. | |
| |
Re: See: [url]http://www.daniweb.com/software-development/cpp/threads/364890/1563056#post1563056[/url] | |
Re: [ICODE]featureID[i] = featureID;[/ICODE] Naming conflict? | |
Re: And you mean [CODE]for([...];i+=10)[/CODE]. | |
Re: Wouldn't that be [CODE]copy(wind.begin(), wind.end(), ostream_iterator<string>(cout, '\n'));[/CODE] ? | |
Re: And you need double ''s. [ICODE]"C:\\Documents ..."[/ICODE] | |
Re: You still have to call LibMainEntryPoint() if you want it to run... | |
Re: [ICODE]g_ppStructArray[1][/ICODE] is a [ICODE]ch8_struct[/ICODE], not a [ICODE]ch8_struct*[/ICODE]. So it has to be: [ICODE]g_ppStructArray[1].field1 = 11;[/ICODE] | |
| Re: There is not enough room in your array to hold "alpha". The C-string "alpha" ends with an additional '\0'(NUL)-character and thus needs 6 chars in the array. [ICODE]char choice[2][6]={"alpha","beta"};[/ICODE] should work. |
Re: [B]@ChaosKnight11[/B]: [B]Careful![/B] Iirc the LGPL allows you to freely link to Qt [I]dynamically[/I]. So you have to either use the DLL(or *nix equivalent)-version of Qt or deliver your object files, so the user could link your program with another Version of Qt. | |
Re: The error message and gerard4143 say it. I think you are confusing [ICODE]std::vector<>[/ICODE] and [ICODE]Matrix.[/ICODE] | |
Re: 1) A local variable is allocated on the stack when its function is called. 2) Nothing of the like needs to happen. It's just an information for the compiler that such a function does exist somewhere. | |
Re: [CODE] int a[10]; int* b = a; b++; b[-1] = 123; [/CODE] | |
Re: [QUOTE]what makes it true??[/QUOTE] [CODE]type=true; //taxable[/CODE] You did. | |
Re: [ICODE]new [/ICODE]calls the constructor, [ICODE]malloc()[/ICODE] doesn't. | |
Re: As long as you stay with ASCII I see no problem. | |
Re: And I thought it was [I]naïve.[/I] :icon_mrgreen: | |
Re: [CODE] switch(endProgramChooseType) { case 'y': case 'Y': // Code for either y or Y goes here break; case 'n': case 'N': // Code for either n or N goes here break; case 'z': // z-code here break; default: // if nothing else fits do this // ... } [/CODE] Your … | |
Re: How about [CODE]union { int i; } d;[/CODE] ? A union of one, hmmm... | |
Re: There are two lines with fscanf(). What are c, n, m, s, and t? c[u,v] is probably not what you meant. You are using u and v prior to initialization. |