- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 58
- Posts with Upvotes
- 48
- Upvoting Members
- 39
- Downvotes Received
- 9
- Posts with Downvotes
- 7
- Downvoting Members
- 6
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
Re: 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 … | |
| Re: 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. |
Re: 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] | |
Re: [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 … | |
Re: [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 … | |
Re: 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, … | |
Re: 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> … | |
Re: [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. | |
Re: 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 … | |
Re: Fire Fox !!! Wooo !!! But also Chrome as GOOGLE is involved .... :) | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
| Re: 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 … |
Re: [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 … | |
Re: 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. | |
Re: [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 … | |
Re: 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 !!! | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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]. | |
Re: @Karan : We are not here to do someone's homework. Put in your effort first... | |
| Re: 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 … |
Re: >BimanD Did you even read what the question posed was...? And what others have replied to it...? | |
Re: [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 … | |
Re: 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. | |
Re: 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. | |
Re: 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 … |