Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
69% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
4
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
2
3 Commented Posts
1 Endorsement
Ranked #858
Ranked #569
~45.2K People Reached
Favorite Tags

84 Posted Topics

Member Avatar for Dave Sinkula

"The C++ Programming Language" by Bjarne Stroustrup. It is a good book about c++ concepts.

Member Avatar for shahidali6
11
10K
Member Avatar for Gotoma

Hi It is due you are trying to access a value pointed by pointer outside the scope. [CODE] #include<iostream> #include "employee.h" using namespace std; Employee e1,e2; // create two objects for class employee char *gets(char*); // Function DEFINED to return a new string entered by the user void print(); // …

Member Avatar for aashi.bajwa.9
0
10K
Member Avatar for sharath_137
Member Avatar for learner guy
Member Avatar for Xaviorin

Hi, Answer to your first question:- 1) Why is my code not reading the int "200" correctly ? - Your code is reading correctly and out put is also according to your code condition. AS for "Mr Tom Jones" syst = 200 and dias = 78 so your first condition …

Member Avatar for Xaviorin
0
239
Member Avatar for corby

I have some questions about your code:- 1) Why are you using [CODE] MyString temp; // create a object and put default memory and location to data according to your constructor MyString() delete [] temp.data; // delete the data created by constructor [/CODE] 2) You are creating a local object …

Member Avatar for corby
0
182
Member Avatar for MrEARTHSHAcKER

It is totally depends on your requirements and application type. As a generic for win OS i suggest Visual c++

Member Avatar for MrEARTHSHAcKER
0
219
Member Avatar for phorce

I am not very sure about your requirement but I think you are getting segmentation fault at line :36 [CODE] words[i] = alphabet[o + 9]; [/CODE] As value of 'o' vary from 0 to 25 and your array alphabet[] has only 26 objects. So at the time of operation alphabet[o …

Member Avatar for sundip
0
99
Member Avatar for newbieha

I am unable to understand your code [CODE] Song& Song::operator =(const Song &so){ if(last_played==0){ last_played=0; } else{ if(last_played!=0){ delete last_played; } last_played=new Time (*so.getLastPlayed()); // You are using so as reference(const Song &so) then why you are trying to call with "*" . This call should be so.getLastPlayed() } artist=so.getArtist(); …

Member Avatar for raptr_dflo
0
184
Member Avatar for rrr12345

You can do this by following ways:- 1) Creating GUI in C++ 2) Create GUI in some other language(Visual C++,VB) and call your C++ method from that code. For the 1) one you can search google "graphics in c++". and for 2) You need to understand IPC concepts again google …

Member Avatar for rrr12345
0
226
Member Avatar for infantheartlyje
Member Avatar for linhj

Just try modify line 6 by printf("error"); It may be possible that your code is unable to find the file If it is so put the absolute path of your file like "c:\\test\\myfile.txt"

Member Avatar for linhj
0
3K
Member Avatar for stereomatching
Member Avatar for smallB

you should use -lboost_unit_test-st for single-threaded and -lboost_unit_test-mt for multi-threaded applications

Member Avatar for smallB
0
161
Member Avatar for UNDER-18 FG
Member Avatar for UNDER-18 FG
0
125
Member Avatar for jonnyboy12

you should check GPU programming in C++. There are lot of metrical on net. Just try to do google

Member Avatar for sundip
0
300
Member Avatar for rcowboy
Member Avatar for rcowboy
0
190
Member Avatar for QQnoobie

Could you please post the code of Student.h also. As per my understanding of this code you are trying to add int and string [CODE]gpa= gpa/*int*/+ "singleGlass[i].getcreditHrs()"/*string*/[/CODE]. Just wants to check what will Student::getcreditHrs returns.

Member Avatar for QQnoobie
0
270
Member Avatar for ajayb
Member Avatar for dsiyekd
Member Avatar for sunn shine

It is a mathematical game or puzzle. [URL="http://en.wikipedia.org/wiki/Tower_of_Hanoi"]Just google[/URL]

Member Avatar for Fbody
0
149
Member Avatar for Nakeo

Compilation does not mean a correct program. Have you try to debug your program? Just by a quick look on your program i am unable to understand the use of [CODE] line 33. semaphore.Wait(0); Line 34. semaphore.Wait(0);[/CODE]

Member Avatar for Nakeo
0
176
Member Avatar for sunn shine
Member Avatar for ashanu

Line 60: [CODE] printf(" %s\n", (*it)[*(it1).strAddrObjName].strStartIP); should be printf(" %s\n", (*it)[(*it1).strAddrObjName].strStartIP); [/CODE]

Member Avatar for sundip
0
184
Member Avatar for Braindead90

Why you don't try with STL list [URL="http://www.yolinux.com/TUTORIALS/LinuxTutorialC++STL.html#LIST"]STL::LIST[/URL]

Member Avatar for sfuo
0
258
Member Avatar for Seiko09

This question really has a very complex answer:- 1) First of all you req very good knowledge of 'lexical' 'analysis', 'parsing', 'grammar', etc. And there is no use of writing C++ compiler in c++. You should learn some low level language. Many universities offer courses where you get to create …

Member Avatar for vijayan121
1
238
Member Avatar for sergent

Some of the more popular implementations do generate a copy of the instantiation code in each object file which triggers an instantiation, and count on the linker to throw out all but one. Other compilers use some sort of repository, where instantiations are stored; if the instantiation is already present, …

Member Avatar for stereomatching
0
179
Member Avatar for myrongainz

[CODE] #include <iostream> using namespace std; int main() { int num1, num2, number=0; cout<<"Please enter your first number"<<endl; cin>>num1; while(num1<number) { cout<<"Please enter a positive number"<<endl; cin>>num1; } cout<<"Please enter you second number"<<endl; cin>>num2; while (num2<number) { cout<<"Please enter a positive number"<<endl; cin>>num2 } [/CODE]

Member Avatar for sundip
0
418
Member Avatar for darelet
Member Avatar for george08.08

[CODE] #include "stdafx.h" #include <iostream> #include <cctype> #include <iomanip> using namespace std; bool validate(char[] password, int len) { for (i = 0; i < len; i++) { if (!isdigit (password[i])) return false; } return true; } int main() { char password [7]; //password is 6+1('/0') digit long int i; cout …

Member Avatar for george08.08
0
3K
Member Avatar for johnnyboyslim
Member Avatar for Zssffssz

Use [URL="http://msdn.microsoft.com/en-us/library/ms646304"]Keyevent[/URL]

Member Avatar for sundip
0
98
Member Avatar for hairo

add return type for BasicLCG(); and BasicLCG(unsigned long); It should solve you first 4 compilation error

Member Avatar for hairo
0
740
Member Avatar for guccimane

[code] char firstChar[256]; size_t chars_read= 0; int currentLocation = 0; while (input.good()) { nextChar = (char) input.get(); firstChar[chars_read++]=(char)input.get(); } while(firstChar[currentLocation] == ' ' || firstChar[currentLocation] == '\t' || firstChar[currentLocation] == '\n' ) \\ ignore all white spaces currentLocation++; if (firstChar[currentLocation]=='+' || firstChar[currentLocation]=='*') badInput=true; currentLocation = chars_read; while(firstChar[currentLocation] == ' ' …

Member Avatar for vijayan121
0
277
Member Avatar for SCass2010
Member Avatar for kumarmpk4u

What ever error you are getting it depends on CDocum::~CDocum because line 3 of your code internally calls CDocum::~CDocum. So as suggested by "m4ster r0shi" plz share definition of ~CDocum.

Member Avatar for kumarmpk4u
0
409
Member Avatar for electrox73

In place of data base you can use an encrypted flat file to store/verify username and password.

Member Avatar for jackmaverick1
0
2K
Member Avatar for sundip

Hi All I am trying to create an add-in for VS2008. As i am new to MS env. Can you tell me :- :?: 1) How to get the full file name/path of currently active file in VS2008. 2) How to execute command prompt from VS 2008 add-in code and …

0
70
Member Avatar for lochnessmonster
Member Avatar for lochnessmonster
Member Avatar for embooglement
0
67
Member Avatar for Tellalca

1) First open command prompt 2) run devenv <Full path of your exe> 3) In VS IDE do Project->Properties->ConfigurationProperties->Debugging->CommandArguments

Member Avatar for sundip
0
139
Member Avatar for jeevsmyd
Member Avatar for sundip
0
162
Member Avatar for fuggles
Member Avatar for sundip
0
65
Member Avatar for Exile_082

What do you mean by "switch loop"? 1) Switch and loop 2) Loop in switch 3) Switch in loop 4) or is it "Switch loop" Try [URL="http://www.cplusplus.com/forum/windows/16404/"]switch loop[/URL]

Member Avatar for hiddepolen
0
129
Member Avatar for sundip
Member Avatar for sundip

HI All Can you suggest me any tutorial/book for starting with rational rose. I am new to it.

Member Avatar for apines
0
55
Member Avatar for wiran_03
Member Avatar for sundip
0
69
Member Avatar for sundip

Hi All Can anyone tell me about some good tool to auto indent the code c++/objective-c/c with some customization features.

Member Avatar for sundip
0
69
Member Avatar for zathura

Can you please post compiler errors also so it will be easy to find for us.

Member Avatar for sundip
0
136
Member Avatar for 0pawix

Where are your efforts ? :) First post what ever you have tried so far for this problem then we will help to correct that.

Member Avatar for 0pawix
-2
94

The End.