Posts
 
Reputation
Joined
Last Seen
Ranked #714
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
19
Posts with Upvotes
18
Upvoting Members
13
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
4 Commented Posts
0 Endorsements
Ranked #490
~49.6K People Reached
About Me

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...

Favorite Forums

71 Posted Topics

Member Avatar for nightcrew
Member Avatar for kimbokasteniv

Then how about [CODE] ReceiptBag bags[] = {"zero", "one"}; ReceiptBag &zero = bags[0]; ReceiptBag &one = bags[1]; [/CODE] :icon_mrgreen:

Member Avatar for kimbokasteniv
0
299
Member Avatar for irre

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.

Member Avatar for Ancient Dragon
0
184
Member Avatar for pushpat

[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].

Member Avatar for pushpat
0
341
Member Avatar for NickPatton
Member Avatar for mikeshadow

[QUOTE=WaltP;1740104]And what the heck is [B]50[/B]???? [/QUOTE] The number of rohan-primes between 0 and 200. :icon_mrgreen:

Member Avatar for mikeshadow
0
506
Member Avatar for Idestruction

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 …

Member Avatar for L7Sqr
0
282
Member Avatar for siabenie

[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?

Member Avatar for siabenie
0
171
Member Avatar for Karlwakim

@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.

Member Avatar for Karlwakim
0
153
Member Avatar for devindamenuka
Member Avatar for Despairy

See: [url]http://www.daniweb.com/software-development/cpp/threads/364890/1563056#post1563056[/url]

Member Avatar for Caligulaminus
0
942
Member Avatar for paranoidSandra
Member Avatar for paranoidSandra
0
174
Member Avatar for LateNightCoder
Member Avatar for usustarr
Member Avatar for usustarr
0
194
Member Avatar for karthik.datt
Member Avatar for karthik.datt
0
195
Member Avatar for sujan.dasmahapa
Member Avatar for maybnxtseasn

[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]

Member Avatar for Caligulaminus
0
75
Member Avatar for anu07

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.

Member Avatar for anu07
0
177
Member Avatar for ChaosKnight11

[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.

Member Avatar for Stefano Mtangoo
0
327
Member Avatar for Will Gresham

The error message and gerard4143 say it. I think you are confusing [ICODE]std::vector<>[/ICODE] and [ICODE]Matrix.[/ICODE]

Member Avatar for JasonHippy
0
162
Member Avatar for amulgarg

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.

Member Avatar for limaulime
0
101
Member Avatar for anujthefuhrer
Member Avatar for meli123

[QUOTE]what makes it true??[/QUOTE] [CODE]type=true; //taxable[/CODE] You did.

Member Avatar for mrnutty
0
95
Member Avatar for wazzer225

[ICODE]new [/ICODE]calls the constructor, [ICODE]malloc()[/ICODE] doesn't.

Member Avatar for Stefano Mtangoo
0
4K
Member Avatar for owenransen
Member Avatar for murnesty
Member Avatar for Gaving30
Member Avatar for FriXionX

[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 …

Member Avatar for FriXionX
0
6K
Member Avatar for sergent

How about [CODE]union { int i; } d;[/CODE] ? A union of one, hmmm...

Member Avatar for mike_2000_17
0
170
Member Avatar for hqt

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.

Member Avatar for hqt
0
626
Member Avatar for Kerlix

StdAfx.h (precompiled header) must allways be included first! Make sure you have <string> included in it or include it explicitly in your .cpp.

Member Avatar for Caligulaminus
0
312
Member Avatar for dashure

The error message says it all: Since m_wName and m_wSalary are private to CWorker you cannot access them from within CManager.

Member Avatar for laosland
0
221
Member Avatar for radiata

Or do as they told you in the description: [QUOTE]... and you might find it useful to reverse the order of the elements in the array after array is filled with data from the keyboard.[/QUOTE]

Member Avatar for Caligulaminus
0
1K
Member Avatar for chubakueno
Member Avatar for brynjar
Member Avatar for lcordero
0
229
Member Avatar for madriceg

CString::LoadString() works differently: [URL="http://msdn.microsoft.com/en-us/library/aa300479%28VS.60%29.aspx"]http://msdn.microsoft.com/en-us/library/aa300479%28VS.60%29.aspx[/URL] Always look into the documentation first!

Member Avatar for madriceg
0
2K
Member Avatar for ztdep
Member Avatar for Caligulaminus
0
141
Member Avatar for san-angelo

I found Moschops' answer very spcific. Maybe you should read it again carefully?

Member Avatar for Caligulaminus
0
113
Member Avatar for ana_1234

You lengthen [I]filename[/I] but you don't know how much space there is reserved for [I]argv[1][/I]. What you're doing is extremely dangerous for you must assume that there is no extra 'room' for the additional chars you're appending. This is probably the reason for your error.

Member Avatar for WaltP
0
353
Member Avatar for Triarius
Member Avatar for pdwivedi

How about [CODE] for(i=0;i<n;i++) delete oraRecordsStr[i]; delete [] oraRecordsStr; [/CODE] ?

Member Avatar for Caligulaminus
0
115
Member Avatar for lexusdominus

No threading necessary. See: [CODE]SetTimer()[/CODE] or [CODE]CreateWaitableTimer()[/CODE] with [CODE]SetWaitableTimer()[/CODE]

Member Avatar for Tellalca
0
516
Member Avatar for something_techy

[QUOTE]MS-Windows and *nix are both different[/QUOTE] Huh? I thought endianness is HW-dependent, not OS-dependent. e.g.: Intel: little endian Motorola: high endian

Member Avatar for Narue
0
304
Member Avatar for goocreations

Int and double have completely different memory representations -> No other way of converting the arrays.

Member Avatar for mrnutty
0
5K
Member Avatar for ankit.4aug

Regarding [URL="http://www.cppreference.com/wiki/language/operator_precedence"]http://www.cppreference.com/wiki/language/operator_precedence[/URL] we can read it as: [CODE]z = ++x || (++y && ++z);[/CODE] Now, since ++x == 6 == true, we don't need to evaluate the second term. Thus y and z are not incremented since the compiler does not touch them.

Member Avatar for arkoenig
0
201
Member Avatar for garber
Member Avatar for mir wasif
-1
3K
Member Avatar for alice_k

[QUOTE=;][/QUOTE] It's pure luck. What you are doing is illegal. It can work or it cannot.

Member Avatar for Moschops
0
722
Member Avatar for SWEngineer
Member Avatar for Skabix
Member Avatar for smrati.katiyar
Member Avatar for smrati.katiyar
0
122

The End.