Beginners (Page 3)

What is the difference between the following two sorting algorithms?
 
I think both of this are algorithm of selection sort. but what is the difference between this two...
[2 replies] Last: first one is bubble sort (by anup30)
by anup30
color fun
 
//dazzle it //by me 20.10.2014 #include <iostream> using namespace std; int main(){ cout ...
[no replies]
by vxk
function parameter doubt
 
I was going through the C book Peter van der Linden and it explained that the following code is wr...
[3 replies] Last: i am using llvm 5.1 , i have not enabled any flags ... (by vxk)
Help Needed: Nested "for" loops reading data from input file
 
Hi, I am having issues with my code that reads data from an input file, and outputs it to an output ...
[2 replies] Last: You have a spurious loop in line 81 "for (int c = 1; c <=5; c++)", com... (by tipaye)
by MrGoat
Tic Tac Toe Player switch problem
 
Self teaching myself C++ right now. Trying to put together a Tic Tac Toe program right now. The pr...
[9 replies] Last: Very true. Learning how to use a debugger to step through your code a... (by Esslercuffi)
by vxk
Help with tic tac toe program
 
I have been having problems while building a simple tic tac toe program my conditions are not bein...
[4 replies] Last: replaced || by && (by vxk)
What kind of sorting algorithm is this?
 
What is the name of the following simple sorting algorithm? #include <iostream> #include <alg...
[1 reply] : http://en.wikipedia.org/wiki/Selection_sort (by Esslercuffi)
Tic Tac Toe: Please Help
 
We all know the game of TicTacToe. It’s easy, quick and fun. In this assignment, you will implemen...
[2 replies] Last: -copter (by Esslercuffi)
Is something wrong on the line 8?
 
Is something wrong on the line 8? #include <iostream> using namespace std; int main() {...
[3 replies] Last: the spacebar can be your friend. (by Esslercuffi)
Sentinel Loop Trouble
 
Hello. I am having issues with setting up a sentinel loop for my calculator. Whenever I put in the i...
[4 replies] Last: Thank you so much for your advice! I used your break; statement and th... (by Chipchip)
by hosoi
Why does my output prints inf?
 
I have an assignment for my C++ class that ask me to calculate the future investment value using a f...
[2 replies] Last: Got it! thanks @Ganado for pointing out my silly mistake it works perf... (by hosoi)
Making a Makefile
 
Hi! I'm trying to learn programming and I'm having some trouble with a makefile; I'm trying t...
[1 reply] : What do you have in the "Makefile.cpp"? (by keskiverto)
trying to compair two strings
 
I'm trying to create a program that will compare two phrases. The requirement is that it has to use ...
[3 replies] Last: @ lonelylense : Consider input "Patrik". Your program will tell that ... (by keskiverto)
Cannot get directory with "..\"
 
I programming in VS2012. When I add lib in Additional Include Directory, I use "..\" but it does not...
[1 reply] : You can add the library directory to your project directly. in VS, pr... (by Esslercuffi)
Strange Symbols
 
I am writing a number guessing program. I have been debugging along the way to ensure that everythin...
[1 reply] : You are doing a couple of things wrong here: Lets take two array: ... (by Atyab)
by mexi
please help me with operator << and >>
 
I have just learnt programming C++. I typed a program about operator on Borland C++ 502. When I comp...
[4 replies] Last: I think the point he was getting at was the following: If you're doing... (by Ganado)
I need help...bad...
 
So for my assignment I have to calculate the score of a students two question long, multiple choice ...
[4 replies] Last: else if(cin.get() == '\n') { ans = 'F' } else { //display ... (by art1986)
Trying to point to a function
 
I am not sure what is going on. All I am trying to do is call a function with pointers. It will not ...
[2 replies] Last: hey ispil thanks for your reply. Line 7 and line 28 looks to me like i... (by MRangel)
Help Needed with simple assignment
 
Hi there guys, i've been working on a particular assignment for a prog class and cannot seem to find...
[4 replies] Last: You're not supposed to be pushing an fstream object into another. The ... (by Keene)
FUNCTION CHECK HELP PLEASE
 
This is what i have for this function so far but im pretty sure its wrong. can someone check it for...
[6 replies] Last: sure. #include <iostream> using namespace std; int print_range(int ... (by lonelylense)
Pages: 12345... 97
  Archived months: [aug2014]

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