Beginners - May 2014 (Page 22)

BST and filing
 
The code gets input from text file and inserts in BST but while traversing it gives infinte loop o...
[2 replies] Last: Thanks it took me an hour was looking error in my logic in insert func... (by Sharan123)
Conceptual doubt
 
when a file a read, its taken to memory(RAM i suppose).If this is the case than how would i make a p...
[5 replies] Last: > how would i make a program that can copy a file from one location to... (by JLBorges)
[help]how to copy these last three character?
 
anyone know how to copy the last three characters of LName from this data structure? struct sh...
[1 reply] : First use size() to find the length of the string, then use substr(... (by Chervil)
a-star implementation need some help.
 
hi, im new here and to c++. I wanted to learn it inbetween university sessions so i tried to code a ...
[5 replies] Last: ok thanks! i have a book called accelerated c++ that i will read in de... (by alexelie)
binary code
 
how would i replace cirtain letters in a string that was inputed with somthing else such as the code...
[5 replies] Last: #include <iostream> using namespace std; void convertBin(int); voi... (by Codermik)
displaying output anywhere in the console
 
Hi, so im wondering of its possible to display the output in any part of the console, not just in th...
[4 replies] Last: You can put multiple variables on a single cout statment, but would... (by Codermik)
Playing an mp3 or other audio file
 
I want one of my programs to be able to play a music file that would possibly be included in the sam...
[no replies]
[error] .cpp expected primary-expression before '.' token
 
I received this error when I want to compile.It's from function'extract' anyone know how to fix it?...
[3 replies] Last: thanks everyone :D fixed void extract(shipInfo ship ) { for(in... (by casper4215)
Pointer to pointers (and array of pointers)
 
How to access correctly to pointers of a pointer (not an array of pointers, which is quite easily to...
[1 reply] : The same way - arrays are basically just pointers (and will turn into ... (by TwilightSpectre)
STD::Thread - Exiting Application Properly with stopped threads and aborting threads...
 
Hello, I have an application which uses std::threads and for the most part the threads work fine....
[2 replies] Last: Thank you, I initially thought you joined a thread only when it was ru... (by ckoeber)
program hangs after using switch() 4 times
 
Hello guys!! I am working on a project which is Electronic Voting System. I am doing its graphics i...
[no replies]
Spell Checker
 
Hello, For c++ I have a homework question that I need help on please.. I DO NOT want the full code, ...
[4 replies] Last: calculate Levenshtein distance between your word and other words and s... (by MiiNiPaa)
need help in password?
 
http://www.cplusplus.com/forum/general/3570/#msg15121 #include <iostream> #include <string> ...
[1 reply] : Modified your code a bit. #include <iostream> #include <string> #... (by Codermik)
This should be simple...
 
When this runs, choosing any letter "m" or further acts like I had chosen "l" and I don't know why. ...
[2 replies] Last: Just some advice, a switch statement would be better suited for this ... (by Codermik)
Help please. I don't get it...
 
while (getline(inStream, line)) { while (inStream >> Student.getId() >> Student.FNAME >> Stude...
[2 replies] Last: I fixed it by just changing it to a random double variable. That's all... (by Reitrahc)
by Mido14
Strings Input
 
How to input number of strings lines when the user enters the number of those lines ?!
[3 replies] Last: cin>>n //n is no of string for(int i=0;i<n;i++) gets(s ); is ... (by Pter0dactyl)
by h4ever
Rotation of bitmap
 
Is there simple way to rotate image?
[no replies]
PLEASE, PLEASE URGENT help with a CHART
 
TONIGHT, I need to finish tonight!! I need help!! I did 2 of 3 exercises. This one makes me crazy....
[13 replies] Last: Well, I'm glad it works. (by xismn)
Array Average
 
So I have a homework question and my code compiles fine and runs and I pass 4 out of 5 of my test qu...
[6 replies] Last: Thank you all for your help :) (by sammie1124)
Need some help.
 
Hi guys, This is a problem that I'm unsure how to solve. Essentially, the task is to have the use...
[3 replies] Last: Its so that he can store both the character and the count in a single ... (by TwilightSpectre)
May 2014 Pages: 1... 2021222324... 55
  Archived months: [apr2014] [jun2014]

This is an archived page. To post a new message, go to the current page.