Posts
 
Reputation
Joined
Last Seen
Ranked #480
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
10
Posts with Upvotes
10
Upvoting Members
8
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
6 Commented Posts
0 Endorsements
Ranked #2K
~25.7K People Reached
Favorite Tags
Member Avatar for restrictment

'Thinking in C++' is a perfect book for beginners and it also explains most of OOP aspects well

Member Avatar for emeraldamerican
0
6K
Member Avatar for srinath reddy

[QUOTE=srinath reddy;1661911]thank you[/QUOTE] i think she meant "Why are you posting it here?" :D, i have the same question in mind, also i'd like to see your code converter(but i have big doubts you are not lying)

Member Avatar for Jeff_11
0
1K
Member Avatar for dospy

i've recently engaged in an argument with my dad about CDs and DVDs vs memory sticks and i basically stated that since nowadays it is common for almost everyone to have at least a 16GB stick, CDs and DVDs are basically becoming useless/non-convenient. he countered me stating that CDs have …

Member Avatar for deceptikon
0
226
Member Avatar for dospy

i want to construct a Message class which encapsulates and handles data for sending over a network; i want to acheive something like this: Client->Send(new CMsgPacket("Some Message", CHAT_COLOR_WHITE, CHAT_TYPE_SERVICE)); // send function deletes the data after processing it // this is the CMsgPacket class class CMsgPacket { private: int Msg_Len, …

Member Avatar for RonalBertogi
0
281
Member Avatar for dospy

the basic idea is that i have a config file where i need to take entries in different formats(the key is always a string and the value could be any type: int, float, string etc) from and the file has the following style: firstentry 1.5 secondentry 35 thirdentry somestring and …

Member Avatar for sepp2k
0
385
Member Avatar for Azmah

you don't have to buy a book, search on google the book name followed by PDF and you'll find pdf file(witch you don't have to download if you don't want) where you can learn from ex: "thinking in c++ pdf" - >[url]http://www.lib.ru.ac.th/download/e-books/TIC2Vone.pdf[/url]

Member Avatar for Labdabeta
-1
468
Member Avatar for dospy

first of all, sorry if this thread is in the wrong section, but i think this is the most appropiate one i need clear instructions for installing AND configuring QT for my machine(i am running windows 7 on 64bit) i don't want other reference links unless they perfectly suit my …

Member Avatar for dospy
0
130
Member Avatar for Jennifer84

i honestly think he means "a way to spoof IP" and probably by modifying the packet content to replace his true IP with a fake one, which, as far as i know, is not 'reliable' since you will be able to spoof the (sent) packets' IP, but you won't be …

Member Avatar for rubberman
0
290
Member Avatar for Dman01

because that could be triggered by others application which modify the clipboard. i cannot help you OP, sorry

Member Avatar for dospy
0
223
Member Avatar for dospy

i'm learning about networking on a site and there says there are 3 types of sending data: unicast, multicast and broadcast in the unicast case the IP layer encapsulates the IP destination(let's say "derp"). the interesting fact i've read about the unicast is that all machines within the same network …

Member Avatar for Taywin
0
115
Member Avatar for 'AnKo

i think he wants to know that if there is a way to output variables with a loop statement which contains only one instruction whithin the brackets like this: int age = 32; char name[50] = "Pickatchu"; double height = "1.65"; for(int i = 0; i < 3; i++) { …

Member Avatar for Ancient Dragon
0
137
Member Avatar for dospy

t to do something like [code] void f1(int a[][]) {//do smth } //and call the function like this F1({{1,0},{2,5}});[/code]

Member Avatar for dospy
0
117
Member Avatar for TheNNS

[CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int main( ) { ifstream in("abc.txt"); string temp; vector<string> vect; while(getline(in,temp)) vect.push_back(temp); for(int i = 0; i != vect.size( ); i++) CONSOLE_Print(vect[i]); return 0; } [/CODE] this should work, and it's smaller too edit: if you want to skip blank lines …

Member Avatar for TheNNS
0
3K
Member Avatar for meme dreame

instead of [CODE] void student_grades(student_grades&paste){ name=name.paste; Id=Id.paste;[/CODE] try [CODE] void student_grades(student_grades&paste){ name=paste.name; Id=paste.Id; [/CODE] also, you'd better follow some tutorials of how to write clean code and improve your writing style because you code layout is horrible(no offense)

Member Avatar for meme dreame
0
107
Member Avatar for TheChosen0ne

i think he means that he can write an web page using C++ for ex. a console - server that imitates the behavior of an HTML written website; it is possible, tho a lot more effort to write it

Member Avatar for Moschops
0
136
Member Avatar for terey

you must provide [B][U][I]CLEAR[/I][/U][/B] details if you want people to help you, what exactly is suppose your code to do?

Member Avatar for gyme20
0
91
Member Avatar for Isaac1024

first post your code, then we will help none will do all your work for you read the forum rules please

Member Avatar for dospy
0
72
Member Avatar for sergent

or you can write the namespace contents and than wrap it all in the namespace u wanted

Member Avatar for dospy
0
98
Member Avatar for dospy

i've downloaded the last version of boost(1_47_0) but i don't know how to build it, i tried to find a tutorial on google but that didn't help much because it was for a very old version and some thing changed. anyway, my compiler does have minimal support for C++0x, will …

Member Avatar for dospy
0
148
Member Avatar for sanuphilip

if this is your homework it means that you should know to do it, it's not our fault that you didn't learn when you have to. we can't do that for you, we only can guide you to the right direction, not build the path for you

Member Avatar for dospy
-1
329
Member Avatar for Sunshine2011

describe your problem in more detail, anyway if i got it right, you can't do what you want cuz the compiler won't let you return a reference to temporary object(declared in the function body) ps: your code isn't even valid so i can't tell exactlty what you really want..

Member Avatar for vijayan121
0
156
Member Avatar for FRGT/10

>> Basically, because you didn't call it properly, you've unintentionally overloaded the function, but you don't have a definition/implementation of the overloaded version. i think you'r wrong about that, you cant declare a function as this [CODE] b.getLeafCount(); [/CODE] you must use :: operator to tell the compiler that it …

Member Avatar for homeryansta
0
305
Member Avatar for syaminismail

none will do your homework unless you at least try and tell us what you don't know, if you know nothing about how to do it, too bad, go and learn

Member Avatar for Narue
0
222
Member Avatar for dospy

i've seen many programs using printf( ) for outputing(probable ported from C) but anyway, is there any difference between printf and cout? also i've seen many functions(expecially in windows.h) using w_char*(wide char string) as arguments or return value(and it bugs me because it makes difficult to use with strings) what's …

Member Avatar for dospy
0
258
Member Avatar for ntrncx

[CODE] ConstructorX(string first):firstName(first) [/CODE] basically, when you pass an argument to this function, your program will: 1)create an string object(first) 2)copy contents from the argument passed to the object 3)firstName will be initialized with the object(note: another copy activity) now, if you use this way [CODE] ConstructorX(string &first):firstName(first) [/CODE] your …

Member Avatar for dospy
0
224
Member Avatar for D.M.

[QUOTE=jackmaverick1;1652695]I wouldn't go with the microsoft products because they are too resource heavy, and are too complex for simple things.[/QUOTE] the more complex, the more flexible IMO msvc is a very good compiler since it has a lot of interface facilities, as well as a lot of flexibility

Member Avatar for pseudorandom21
0
324
Member Avatar for dospy

i have this question in mind since i first found out that you can declare and array like this [CODE] <type>* nArray [/CODE] how does the compiler how much storage to allocate? i've heard that it doesn't allocate any storage, it just points to some address and when you use …

Member Avatar for dospy
0
102
Member Avatar for caut_baia

[QUOTE=firstPerson;1659034]Yes I think Visual studio [b]2010[/b] has it[/QUOTE] not really, MSVC 2010 has little support for c++ 0x for example the syntax [CODE] for(int& x : <some vector/array/pointer>) [/CODE] is not valid same goes for 'constexpr' and many more.. for more vizit [url]http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx[/url]

Member Avatar for caut_baia
0
434
Member Avatar for dospy

i really need a GOOD socket tutorial, i've followed some of them from google but they aren't complete, i know that socket programming is forked into many categories, basically i am interested blocking & non blocking sockets, synchronous & asynchronous sockets(used with select() and FD_ISSET macro etc) PS: i know …

Member Avatar for dospy
0
166
Member Avatar for buzz9948

the code looks fine to me, what exactly is the problem? edit: noone will do the functions for you if you don't at least try to... we are here to help people, and by giving them the full code we don't help them at all, they need to understand first

Member Avatar for palav sandeep
0
127