Posts
 
Reputation
Joined
Last Seen
Ranked #717
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
~50.1K 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
306
Member Avatar for irre
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
516
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
285
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
174
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
157
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
951
Member Avatar for paranoidSandra
Member Avatar for paranoidSandra
0
179
Member Avatar for LateNightCoder
Member Avatar for usustarr

Wouldn't that be [CODE]copy(wind.begin(), wind.end(), ostream_iterator<string>(cout, '\n'));[/CODE] ?

Member Avatar for usustarr
0
196
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
76
Member Avatar for Member #777908

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 Member #777908
0
178
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
329
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
167
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
103
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
97
Member Avatar for wazzer225
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
174
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
641
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
318
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
222
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
234
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
142
Member Avatar for san-angelo

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

Member Avatar for Caligulaminus
0
115
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
355
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
117
Member Avatar for lexusdominus

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

Member Avatar for Tellalca
0
518
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
305
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
204
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
723
Member Avatar for SWEngineer
Member Avatar for Caligulaminus
0
225
Member Avatar for Member #903086
Member Avatar for smrati.katiyar
Member Avatar for smrati.katiyar
0
127

The End.