Beginners - April 2013 (Page 74)

by tripke
Review my small amount of code?
 
Hello fellow community. I am currently a total beginner and in the fall moving onto college to begin...
[7 replies] Last: > Some compilers (i.e mine) g++ refuse to compile if you omit return 0... (by JLBorges)
I cannot find my mistake :(
 
SECOND FUNCTION int k=o; while(k<(set.length()-1) && x==false && z==false) // this function chec...
[5 replies] Last: int count = 0; cout << "Enter the number of words you would like to ... (by rcast)
Building my own Set, queue and driver
 
Well, I'm trying to build a set based on an AVL tree. So far, I have a set based on a binary search ...
[6 replies] Last: Thanks a ton! Great advice. I admit, the Kool-aid function was a bit o... (by BlackL1ght)
IN which softwhere C++ language write?.
 
I am very New in c++ language.... IN which softwhere C++ language write?.
[7 replies] Last: A formula 1 car has lots of different features and gadgets that are, s... (by closed account 3CXz8vqX)
Storing coordinates of multiple creatures
 
This is a small program that moves the S around the map randomly. #include <iostream> #incl...
[16 replies] Last: Thank you, that worked well, now I have set up both the spawnSnakes an... (by Vidminas)
by klay2
rougelike saving files
 
it just wont work and vc++ 2010 wont show if it wont work until I debug so if you can help with that...
[2 replies] Last: well get it to save a txt file containing the x and y positions and st... (by klay2)
Accessing 1 Array Element From A File
 
In my program I have set up two parallel arrays from a given file. The file looks something like thi...
[no replies]
error: No operator matches these operands
 
Hey, I'm having an issue with this array within my overloaded << opperator. It keeps saying: No ope...
[9 replies] Last: All I'm saying is that you can't use ba . By default, the operator ... (by fg109)
Just getting back into Programming
 
Been out of the loop for some years now, just trying to figure the best starting point. Such as pre...
[no replies]
Using TypeDef With Parallel Arrays
 
I am required to use typedef in order to set up my array types, but it is not working at all. I have...
[2 replies] Last: Thank you! I have now set up my arrays like this: typedef int sizeO... (by janebartley)
String Planet Program *URGENT*
 
Hey, I'm to write a program that outputs a user's weight on a planet they enter. The user must firs...
[7 replies] Last: You're entering the weight, which is an integer. The "\n" remains in ... (by justme2)
Debugging issue regarding fractions
 
The code below is designed to add, subtract, multiply, and divide fractions created in the class Rat...
[1 reply] : This function Rational Rational::addition(Rational y) // adds fracti... (by vlad from moscow)
My first program! :D Looking for constructive criticism. (1,2)
 
So i'm literally only a few days into learning c++ (I took about a semester of computer science in h...
[33 replies] Last: I actually spent some time making a Date class last night. The zero b... (by Lowest0ne)
by kiste5
Arrays very easy question
 
What's the difference between a and int a ? this a my hw question idk how to explain or the know th...
[4 replies] Last: The first, a , is an expression. The second, int a , is a declaration... (by vlad from moscow)
Problem with "=" operator in a problem regarding classes
 
Here is a bit of the code in question. the error is in line 13, "x = c.addition(d);" the problem ha...
[3 replies] Last: Thanks, That was the trick. There is another debugging problem now, b... (by KarateMan80)
calculate the number of prime numbers between two inputs
 
ive done the main parts... but i dont get how to calculate the number of prime numbers in between. f...
[9 replies] Last: http://www.cplusplus.com/doc/tutorial/arrays/ (by kinley)
by tpinon
Seekg and Seekp program
 
Hi guys, I'm trying to write a program that reads from a file using seekg/seekp. I'm just working o...
[8 replies] Last: unfortunately, i can't use arrays for this assignment. :( just learni... (by tpinon)
by jpe33
variables in system() function
 
Hi I haven't touched C/C++ for over 15 years and even then it was "hello world" What I would like ...
[6 replies] Last: Quincy 2005 looks a bit dated (the 2008 version uses MinGW 4.2 accordi... (by Catfish3)
Can I use a boolean as an index?
 
vector<int> myvec; myvec.resize(2); bool idx1 = false; bool idx2 = true; myvec = 123; myvec...
[4 replies] Last: Ok great, thanks :) (by ausairman)
Quick C++ Function Help
 
Hey everyone, I have done all of the assignment so far except for one part. Here is the assignme...
[1 reply] : Replied to you in other topic. Please do not cross-post one topic in s... (by MiiNiPaa)
April 2013 Pages: 1... 7273747576... 83
  Archived months: [mar2013] [may2013]

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