General C++ Programming (Page 5)

Recursive vs Loops
 
I am trying to convert a recursive function to a loop. However, it is not working. Please advise wha...
[1 reply] : A loop with an unconditional return in the body is not a loop. (by cire)
Faro shuffle doubly linked list troubles.
 
I'm trying to perform a perfect shuffle on a doubly linked list and am running into some issues that...
[no replies]
static vs. dynamic binding
 
Static vs. dynamic binding. Which should i use, and when should I use each of these?
[no replies]
A few questions..
 
Hi my name is Ryan. I am 30 and although I grew up down south and was born in Texas, I have spent th...
[1 reply] : *bump* (by RyanAViets)
regex "\\" does not match string("\\")
 
The title says it all. I have been trying to run this for a while and can't figure out why; r...
[3 replies] Last: > One of the things lacking in C++ is the ability for "raw" strings wh... (by JLBorges)
by c noob
problem with class code
 
Undo Stack Using Circular Buffer I have to write a main program that pushes numbers on the stack an...
[18 replies] Last: I try option 2 and I still get lldb in Xcode. #include <iostream> #in... (by c noob)
trying to write to a file
 
I'm trying to use a function to gather all inputted data and write that data to a file. I'm having ...
[1 reply] : Near the end of the program in the saveExpense function, remove the li... (by AaronZim)
Using If-If only statement
 
Just a hitch up. I've been doing this already but can't seem to make it run and sorry I haven't repl...
[5 replies] Last: @TheIdeasMan You're right: I'll keep that in mind. Seasons greetin... (by minomic)
by Xhobi
i++ & ++i
 
Can any one tell me difference between i++ and ++i. As i know i++ stands for i=i+1 but what is ++i?...
[1 reply] : You can read here: http://www.hotscripts.com/forums/c-c/57931-c-tip-wh... (by minomic)
Array
 
Hello, I want to input only 4(numbers)from a .txt file like Number of Plants: 4 Now where ...
[10 replies] Last: yes you are right after that I'll calculate using those array Thank yo... (by shuvoshill)
help in string combinations
 
hii I have a list having m1 m2 m3........ m922 and in each there are a1 a2 a3 a4 are there lik...
[5 replies] Last: yes exactly like this Likewise, splitting a string at all possible com... (by ameetpawar00)
PortAudio input-to-output wire has too much delay
 
I'm trying to create a wire from input to output with near zero latency. The framesPerBuffer is almo...
[no replies]
this is my program do i answer the question??
 
i also cannot get the sum for even and odd number, it just give me rubbish number....
[1 reply] : You were not initializing the variables evenArray and oddArray to zero... (by minomic)
phone application
 
// error msg: expexted primary-expression int main(int argc, char** argv) { // open main string ...
[1 reply] : in function showMenu has 3 option.. 1 for contact info, 2 for message,... (by fnabila23)
by hp16
What's wrong with my merge sort code?
 
It's working but it's doing something funny if my input is: 1 7 4 0 9 4 8 8 2 4 my output is: ...
[no replies]
Need Help, important and probably simple
 
I have no idea why it is doing what it is doing. I have it searching through the entire string lette...
[4 replies] Last: Thanks for the idea to remove the whitespace before. It works, I also ... (by elite zero)
read file fstream
 
i have a file *.csv. CSV is like excel format the first line is the number of element lines after is...
[14 replies] Last: Here is my code following ur tips. thks. #include <iostream> #includ... (by nightmaregiba)
"Base class undefined"
 
Hi, I have an error here that's confusing me, it looks like a include-problem. I have the followin...
[10 replies] Last: If this thread had a 'like' button i'd be pressing it. (by mutexe)
Using OLE to manage Microsoft-Office_Contacts
 
Hello, I got the task to completely manage 'Contacts' in Microsoft-Office(up from 2007) from an ext...
[no replies]
linked list in C
 
I am trying to write a linkedlist in c, but for some reason I have run into a problem where the list...
[2 replies] Last: Thanks for the help. I see exactly what you are talking about. (by haglerchristopher)
Pages: 1... 34567... 55
  Archived months: [oct2014]

Cannot post in this page. To post a new message, go to the first page.