Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
60% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
9
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
5
4 Commented Posts
~32.1K People Reached
Favorite Tags
Member Avatar for vjcagay

Definitivelly the most powerfull language of all times is... English. The most powerfull computer is an... Engineer. Explain your problem to an Engineer in English, and he/she will solve it! Easy, isn't it?

Member Avatar for vegaseat
-1
4K
Member Avatar for greg.lafrance.96

I think you are doing a good job. Continue. I recomend you to change the reverse function with: void reverse(char line[], int len) { int i; char tmp; --len; for(i=0; i<=len/2; i++) { tmp = line[i]; line[i] = line[len-i]; line[len-i]=tmp; } } To understand it, you must work with a …

Member Avatar for TalhaMoazSarwar
0
427
Member Avatar for surya55

See http://www.parashift.com/c++-faq/serialization.html There, it is defined as: Serialization lets you take an object or group of objects, put them on a disk or send them through a wire or wireless transport mechanism, then later, perhaps on another computer, reverse the process: resurrect the original object(s). The basic mechanisms are to …

Member Avatar for rubberman
0
978
Member Avatar for ivel
Member Avatar for NathanOliver
0
292
Member Avatar for Adam_21
Member Avatar for cambalinho

I recomend you to use the function `int toupper( int ch )` defined in header `<cctype>`

Member Avatar for sneekula
0
336
Member Avatar for ahmadali

A for that do something 10 times can be written like this: for(int i=1; i<=10; ++i) { //... }

Member Avatar for Henry Mark
0
167
Member Avatar for igli_1

Consider you have a counter (c) that goes from 1 to 5. The number of stars you what to print is `s = 6-c`. In this way, when c values 1 s values 5, when c values 2 s values 4, when c values 3 s values 3, and so …

Member Avatar for Maritimo
0
179
Member Avatar for nitin1

This link [Stackoverflow](http://stackoverflow.com/questions/2799023/what-exactly-is-a-reentrant-function) can give you more information.

Member Avatar for mike_2000_17
0
2K
Member Avatar for mrhunt

The disadvantage of multiple inheritance is that for using it you need to know more than for not using it. However, if you know how to use it, it is a fantastic tool. In other words, knowing a little of multiple inheritance, you can make a mess; knowing a lot, …

Member Avatar for Maritimo
0
158
Member Avatar for Transcendent

Replace `strVec.push_back(getline(about));` with `strVec.push_back(getline(infile));` Then show the vector `strVec` Then sort the vector `strVec` Finally show again the vector `strVec`

Member Avatar for Lerner
0
287
Member Avatar for lyons18

I think that rubberman has been a little exagerated because this is neither for a PhD nor even Master but he is right in that this is very difficult for a beginner. You must learn about WEB servers and how to create utilities there. Also you need to learn about …

Member Avatar for vegaseat
0
275
Member Avatar for avishekh.bharati

I recomend you to learn C++11 directly. Learning C is the long way to C++98 to C++03 to C++11 and do not have any benefit. As a matter of fact, the style of programming and the way of think has evolved a lot. With C++11 there are many things you …

Member Avatar for vegaseat
0
185
Member Avatar for suliman.kh
Member Avatar for Ali_45
0
78
Member Avatar for tinased
Member Avatar for EdJones

Sorry but I can't tell you a book like that. > Also, is there an advantage to learning C before you learn C++? No, there isn't. As a matter of fact, it is not recomended at all. Learn C++ directly. Knowing Python you have an advantage but resist the tentation …

Member Avatar for tabanpanoam
0
274
Member Avatar for nitin1

The memory is measured in bytes. 1k bytes are 1024 bytes (not 1000 bytes). This is because the memory space is expresed in powers of two: 2^0=1 2^1=2 2^2=4 2^3=8 2^4=16 2^5=32 2^6=64 2^7=128 2^8=256 2^9=512 2^10=1024 <--- This is why 1k of memory has 1024 bytes. 2^11=2048 2^12=4096 <--- …

Member Avatar for Moschops
0
186
Member Avatar for masterinex

On line 18, change `get_values(*r, *v);` with `get_values(&resistor, &volts);` Also you can change line 39 from `scanf("%f", &*r);` to `scanf("%f", r);` and line 43 from `scanf("%f", &*v);` to `scanf("%f", v);` but these are not stricly necessary.

Member Avatar for rubberman
0
640
Member Avatar for twtw

`data_search` is an integer. But is `current->ID` also an integer? It seems that `current->ID` is a `string`. Probably you can use `std::stoi(current->ID)` to solve the problem.

Member Avatar for Maritimo
0
213
Member Avatar for bc230201818
Member Avatar for bc230201818
Member Avatar for Maryam_6

Daniweb is not a homework service. Please provide evidence that you've attempted a solution on your own.

Member Avatar for Maryam_6
0
178
Member Avatar for mikeandike22

D is something like to try to create a car that can fly like an airplane and transport like a jumbo but with the facility to dive under the sea. And all of these applying restrictions to what C++ can do very well, just because something has decided that some …

Member Avatar for The Old Man
1
454
Member Avatar for abrar7866

Daniweb is not a homework service. Please provide evidence that you've attempted a solution on your own, as per our rules.

Member Avatar for Maritimo
0
330
Member Avatar for bc230201818
Member Avatar for maria.gretta
Member Avatar for bc230201818
0
206
Member Avatar for Erma_2
Member Avatar for kungle

Probably you don't need to go with the debuger to all of your functions. In that case, I also sujest you to compile some files with -O3 (where you are sure that everything is OK) and others (where you will need to debug) with the -Og option, following the NathanOliver …

Member Avatar for Maritimo
0
590
Member Avatar for Zaprzap

> 1) Is this statement correct: In memory, elements of an array are stored "against" each other (I think more precisely, contigious space is allocated for them?) and a pointer to an array points to the first element. Yes it is correct.

Member Avatar for Zaprzap
0
231
Member Avatar for Fil_1

Your problem can be fixed just adding two parenthesis. The idea is to put your str string into a scope `{/*...*/}` and, at the end of the scope, your str string memory will be automatically released. //... fileIn.open(fileName, ios::in | ios::binary); { string str((istreambuf_iterator<char>(fileIn)), istreambuf_iterator<char>()); cout << str << endl; …

Member Avatar for NathanOliver
0
903