Posts
 
Reputation
Joined
Last Seen
Ranked #105
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
88% Quality Score
Upvotes Received
58
Posts with Upvotes
48
Upvoting Members
39
Downvotes Received
9
Posts with Downvotes
7
Downvoting Members
6
33 Commented Posts
2 Endorsements
Ranked #621
Ranked #230
~228.50K People Reached
About Me

Everything remains a dream untill someone dares to convert it into a reality !!!

Interests
Coding, Puzzles, Math, Painting, Hanging out with friends
PC Specs
Dell XPS Laptop i5 Processor 6 GB Ram running Dual boot Windows 7 and Ubuntu 11.04
Favorite Tags
c++ x 308
c x 232
java x 2
seo x 2

406 Posted Topics

Member Avatar for paruse

Post by jonsca and tux4life have divulged all the information related to this topic.But would like to add some from my side. Apart from the printable characters (character which can be seen on a output screen) we make use of several other operations when working on any text. When we …

Member Avatar for Shafiq_1
0
38K
Member Avatar for skandh

Try installing the lib folder again... from some other copy...Its a common problem in TC...you wont have that problem again once you replace that folder with the proper ones.

Member Avatar for jay.vivarekar
0
2K
Member Avatar for baconswife

I think you need to learn the proper syntax of coding first. There is nothing in C++ which is used like this.. [code=c++] if (i = 3; i <=num; i++) [/code]

Member Avatar for Mahfuz_1
0
199
Member Avatar for bemo55

[QUOTE=bemo55;815093]I have a project for school that i am working on, and i cant figure out how to store names in an array. i have it declared as [code] char firstname[25]; char lastname[25]; [/code] but i was told that just stored one string and when i go to print out …

Member Avatar for jcmoney1010
0
9K
Member Avatar for Eagles36

[B]Word of advice :[/B] [B]1)[/B] Don't post such huge codes,just tag the file as an attachment and post your question. [B]2)[/B] For solving any problem try to break it into parts and solve some smaller test case. As far as i can see your Test Case 1 itself can be …

Member Avatar for uzairrahim
-1
2K
Member Avatar for wzseow

Hey definition of a struct doesn't create struct objects for you to play around as variables of data type struct. You need to create the objects of that struct to access memory and do other assignment stuff. So try this: [code=c] int main() { TransistorRec a; printf("Enter manufacturer's ID, polarity, …

Member Avatar for zeroliken
0
20K
Member Avatar for Gaiety

Its just one of the ways used within the working of a computer to make the best use of available space. Say your program after compilation is converted into set of instructions like [QUOTE] Address Instruction 00000000 <Start> 00000001 <Instruction 1> 00000002 <Instruction 2> 00000003 <Instruction 3> ... 00000300 <End> …

Member Avatar for Gaiety
0
158
Member Avatar for kusel1030

[B]1. [/B]Redundant [CODE=c++] ifstream myfile(<filename>); myfile.open(<filename>); [/CODE] [B]2. [/B]Use \[CODE\] \[/CODE\] tags for better visibility of code. [B]3. [/B]Give an example of the contents so that we get a better idea.

Member Avatar for kusel1030
0
720
Member Avatar for lothrodel

I see several problems in your code. [B]1. [/B] void main() ??? a very bad coding practice and if your compiler is allowing this then its high time you switch to a good compiler like g++. Good practice (now a rule) is int main(). [B]2. [/B] Why static functions for …

Member Avatar for csurfer
0
156
Member Avatar for adkool
Member Avatar for crunchie
2
896
Member Avatar for ahasan_al_rabbi

You might be using a pre-written javascript jquery combination to do that downloaded from net. Check the javascript part for a mentioning of number like 3000 or 5000 . These are delays in milliseconds before slide transition. Change that accordingly.

Member Avatar for ahasan_al_rabbi
0
172
Member Avatar for cppgangster

If possible get a good book like K and R and start your programming in C. Its always better to struggle at first as it lays the foundation strong.

Member Avatar for abhimanipal
0
128
Member Avatar for littleleaf

I may be wrong but as far as I see you are using a single port to receive client requests from , but later when you intend to handle different clients in different threads you have to bind them to a different port for the connection to remain intact and …

Member Avatar for littleleaf
0
438
Member Avatar for SourabhT

What you are doing should not be done. It may even cause runtime exceptions in some cases.Know this always "A base class pointer can be used(by typecasting) to point to a base class object or a derived class object but the reverse should never be done." The reasoning for above …

Member Avatar for arkoenig
0
721
Member Avatar for ragnarok511

I believe that to know how to program in any language you just need a few days but to get a hold on it it takes a life time. The only difference in Java/C# and C++ that I find is in C++ you got to do many things on your …

Member Avatar for thelamb
0
242
Member Avatar for LanguidLegend

[B]First thing you need to know is that array a in your code is an array of addresses and not values.[/B] [B]1.[/B] Its just your luck that this code is even running as in the last iteration of for loop when it does [CODE]a[6] += 1;[/CODE] it will be pointing …

Member Avatar for csurfer
0
178
Member Avatar for rogba

Try using [URL="http://www.cplusplus.com/reference/iostream/istream/getline/"]cin.getline()[/URL] along with [URL="http://www.cplusplus.com/reference/iostream/istream/gcount/"]gcount()[/URL] together where in getline() can fetch you the string and gcount can help you stop according to a particular condition. Use it with caution as getline sets some error flags when encountered with a premature end of input.

Member Avatar for rogba
0
161
Member Avatar for atticusr5

[B]1.[/B] Don't exactly know how [B]name_t[/B] in your code is defined but I don't really see the purpose of using [B]*&[/B] before charArray. I bet you are confused with passing array as a function parameter. Have a look into it. [B]2.[/B] If your charArray is really and array of strings …

Member Avatar for geojia
0
151
Member Avatar for sheri khan

How honest of you to ask for the code directly... :) Honestly people on this forum (including and especially me) are machines who cannot work without a Honest effort from your side, so come back when you have done that !!!

Member Avatar for csurfer
0
69
Member Avatar for SWEngineer

If its the Qt IDE which you are talking about , then the best way to learn using any IDE is to try out new things in it and surfing through the icons. Moreover you always will have a helper documentation for the IDE under help tab. Use that.

Member Avatar for SWEngineer
0
230
Member Avatar for skald89

It entirely depends on the questions as to how much is the Web programmer involved. Normally a designer should provide the styling docs such as CSS , other window designs that he has come up with and documents regarding how things are related to each other. But ya the view …

Member Avatar for skald89
1
175
Member Avatar for fradiavolo

That depends on how you want to write it within the file. If you write it the same way it appears then may be you can use getline() function to get an entire line and then process it by using the space as delimiters to get your values. Or you …

Member Avatar for Greywolf333
0
162
Member Avatar for ispeakbinary

The error message itself says where you went wrong.Initialization of factorPtr in line 14 [B]should be [COLOR="green"]factorPtr(ptr)[/COLOR] rather than [COLOR="red"]*factorPtr(&ptr)[/COLOR][/B].

Member Avatar for csurfer
0
159
Member Avatar for karan_kanna

@Karan : We are not here to do someone's homework. Put in your effort first...

Member Avatar for csurfer
0
108
Member Avatar for ravish_26490

Well I found this thing in your code: [code=c] initgraph(&gd,&gm,"C:\\TC\\BGI"); [/code] Its normally this way: [code=c] initgraph(&gd,&gm,"C:\TC\BGI"); [/code] When you are so sure about the libraries you possess then try out the example program given for <graphics.h> that should work fine for a try(As you are using TC). If not …

Member Avatar for niran manandhar
0
1K
Member Avatar for erictham83

>BimanD Did you even read what the question posed was...? And what others have replied to it...?

Member Avatar for shiva_202
0
409
Member Avatar for Dionysus

[QUOTE=Dionysus;807787]first of all thanks for replying...A dictionary from japanse romanji to english and vise versa..and the dictionary data base would be from a single text file....my main prob is how do i get a specific line from that text file ..:D[/QUOTE] Well what you really need to do is to …

Member Avatar for Adak
0
730
Member Avatar for serkan sendur

For me First comes [B]"A Beautiful Mind"[/B] and falling back just by an inch is [B]"Shawshank Redemption"[/B]. The two most unforgettable movies I have ever seen.

Member Avatar for ronnieaka
0
1K
Member Avatar for sadia.ab

Take the first step and code what ever you can in what ever way you can... we will help you code but you are the one who should code.

Member Avatar for jonsca
0
151
Member Avatar for karthikdebbadi

With -b option you can include a batch of commands in non interactive mode of sftp transfer . So may be you can use a c++ program with system command or exec commands to execute the commands you wanted to feed into the batch file and just pass on the …

Member Avatar for karthikdebbadi
0
269
Member Avatar for watery87

By looking at your post all that I can say is as the writer of the code you are at your will to limit the input to any way by putting checks where ever necessary.And your problems : >>Problem 1: if the input has more than 8 chars, garbage characters …

Member Avatar for watery87
0
122
Member Avatar for madhurpandey

No we cannot help you with your codes but we will help you out with the problems you may encounter while writing your codes. First know the format of image you are trying to manipulate. BMP or JPEG of 8 bit RGB or 24 bit RGB and also the construction …

Member Avatar for madhurpandey
0
198
Member Avatar for allizzee

If you are playing a game already built it would have been designed in a way to play against you in "Single User" mode. If you are designing the game yourself then you can write the code to make it play against you. :) So its your choice now.

Member Avatar for WaltP
0
116
Member Avatar for spideyprasad

Anything else needed...??? Or do you want us to deliver it to the person concerned also...?

Member Avatar for csurfer
-5
74
Member Avatar for GregPeters

Assuming that your code works fine till this line(if not hoping that you will successfully solve the problems :) )you can do this : [code=c++] if ((line.find(search, 0)) != string::npos) { cout << "found " << search<< endl; //Here at this point you know that the next three lines are …

Member Avatar for csurfer
0
242
Member Avatar for jimbob90

You want the address of the variables list1 and maxVar to go so your summarr function call be like [code=c++] result = sumarr(arr, num, maxVarHolder); [/code]

Member Avatar for mike_2000_17
0
232
Member Avatar for prvnkmr449

Try to set a wired connection first using the options and also configure your ethernet drivers using pppoeconf in sudo mode.May be then you can try for establishing a wireless connection.

Member Avatar for suntom
0
173
Member Avatar for vijaykrishnabor

A function which we think may be overloaded in the derived classes is marked with keyword virtual so as to inform the compiler that this function has a fair chance of getting overloaded in the derived classes. A base class which has at least one pure virtual function cannot be …

Member Avatar for mike_2000_17
0
133
Member Avatar for vijaykrishnabor

Inline is just a request to the compiler to treat the call to a function like a macro and substitute it rather than treating it as a function and making a call. This request may or may not be considered by a compiler where in the second case it treats …

Member Avatar for mike_2000_17
0
2K
Member Avatar for heidik

You can refer to [URL="http://www.cplusplus.com/reference/iostream/ios/exceptions/"]this[/URL].

Member Avatar for heidik
0
87
Member Avatar for pdk123

I just made some small change in your class definition removing the .resize() and fill() functions as I didn't find their need. [code=c++] template <typename T> class dyn_arr{ public: //Dedault constructor dyn_arr() {}; //Constructor dyn_arr( int rows, int cols) { for(int i=0; i<rows; i++) { vector<T> row; // Your mistake …

Member Avatar for pdk123
0
188
Member Avatar for tKc

[B]Problems :[/B] [B]1)[/B]The result in your sum function and the result in your main function are different as you are not at all passing the variable result to the sum function.So pass result variable also along with n to the sum function as [code=c++] sum(n,result); // Make sure result is …

Member Avatar for csurfer
0
133
Member Avatar for vijaykrishnabor

Ok after answering two of your questions I realize that you are just creating one thread for everyone of your questions and just delegating the work of finding the answers to these questions. Go look into some books,google the key words out,try to implement them and then if you get …

Member Avatar for csurfer
0
145
Member Avatar for Web_Sailor

Check your code again. The looping construct you have used does simple insertion which you want and doesn't sort the vector in any way.try your code on an integer vector may be to confirm the problem.

Member Avatar for Ancient Dragon
0
101
Member Avatar for adarshcu

Really sorry to answer to a two year old thread. I didnt look at the date just answered the thread which appeared at the top. :(

Member Avatar for N1GHTS
0
169
Member Avatar for OPTIMUS999

There are several errors like : void displayPayrollSummaryResults() returning a int value undefined unionCode[ID] in displayEmployeeResult() and others. Please compile it and try to debug these first.

Member Avatar for NathanOliver
0
2K
Member Avatar for thr
Member Avatar for myk45
0
212
Member Avatar for debasishgang7

Have you tried to look at the patterns in printf like "%4d" "%-4d" "%04d" etc follwed by an integer value in printf ? These patterns are used to generate specific formatting of left allignment,right allignment,fixing the width of the input and also filling the empty spaces with the values you …

Member Avatar for Fbody
0
258
Member Avatar for +_+man
Member Avatar for CimmerianX
0
98
Member Avatar for mjoshi

@mjoshi : Null character is represented as '\0' and not '/0' as you have done in your program. And hope you have used double variables for sum, x etc as atof returns double.

Member Avatar for r.stiltskin
0
186

The End.