Beginners - April 2015 (Page 4)

do while loop clock
 
Hello everybody :D I've written a C++ program that can act like a clock. You enter the time in h...
[no replies]
by enemy
Memory distance between objects of the classes
 
Hello! I have played with pointers to classes, and got this result forobject's addresses: ...
[4 replies] Last: Many thanks!!! (by enemy)
class with templates. Overloading parameters.
 
Hello! I'm new to C++. Need help with syntax. THX in advance!! template <typename T> class Matri...
[1 reply] : > So, if I have Matrix<int> A, B; A*B will return an int type Matrix. ... (by JLBorges)
Patterns using loops
 
I need to print this pattern # # # # # # # # # @ # # # # # # # # @ @ # # # # # # # @ @ @ # # # #...
[4 replies] Last: That's certainly a lot closer. Run it and see what you get. Adjust the... (by dhayden)
Using count()
 
Hello. Is there any way I could do this? #include<iostream> #include<string> using namespace...
[10 replies] Last: int counter = 0; int pos = first.find(second); for (int i = pos; p... (by mighty asker)
Randomly Generated Integers in 2D array
 
This program needs to create a 2D array and store randomly generated integers to it which will be wr...
[5 replies] Last: @minomic It could be a problem dependign on the compiler. This is ... (by minomic)
by savanh
question
 
Hello, i try to make tihis code just for more understand how to send two datatype in dicleration sta...
[1 reply] : You have several typos: oh(T num11,S num22){ // Note: Space betwee S a... (by coder777)
by mcisa
Help with complex # to polar form
 
I'm tasked with creating a program that allows the user to enter two sets of imaginary and real numb...
[1 reply] : It compiles fine, but you never call display1() (by coder777)
Help Arrays!
 
I need to make a program that will delete one element from array and shift to the left... Am not tha...
[2 replies] Last: Thanx "coder777". Your are the best! I finished the program.. (by hopkins123)
speed of the function call
 
Hey, I wanted to write some code with bit operations and didnt want to use <bitset> because i test...
[2 replies] Last: Thanks for answer man! No I haven't, its all in default mode, I'm usi... (by etrusks)
by nruiz8
Problem understanding how void functions work
 
Hello, so for my assignment, I am supposed to write a program that will display a rectangular design...
[2 replies] Last: what the void function doesn't do.. is output or return any value. I... (by suitedupvet83)
Stable Sort
 
I have a program where I am given a large file of UC students that already sorted by ID. I need to s...
[1 reply] : Please do not post the same message to multiple forums. Follow ups to... (by cire)
Making a Theater Program
 
Hello, I'm looking for help with creating a program that makes a multidimensional array and the user...
[7 replies] Last: @azehm628 Replace int row,column; do{ for(int i = 8; i > -1; i--) ... (by whitenite1)
Cross-including head file? Can I? How?
 
I have two head files, and in each of both, I need to use the class defined in another file. For exa...
[1 reply] : Hi there! You can use a forward declaration of the two classes in thei... (by ultifinitus)
Temp variables and const references
 
Hi guys, I've a question that I searched on the web but it is still a little confusing. I read that ...
[5 replies] Last: Thanks for the answer! P.S. - I haven't read till constructors and de... (by Drakonaut)
having trouble with if/else statement. this is a code for simulating cpu scheduling.
 
im having trouble with my if else statement, it shows error:'else without previous 'if'.i would grea...
[4 replies] Last: this is an assignment for my class.im still a little lost at this.i am... (by freakshowed)
Make a board with a txt and classes - BattleShip game
 
Hey there, guys I need some really huge help sorting this thing out Here's my Board and player c...
[no replies]
Program doesn't execute.
 
I am trying to check if my input from file is correct and it seems that I did something wrong which ...
[3 replies] Last: Extending on MrGoat's post, also lines 45 and 49 need changing. (by Codermik)
which IDE should I use?
 
I'm a beginner in programming and wanted to know the best free IDE that I should use. I am currently...
[10 replies] Last: On Windows, I'm still a huge fan of MSVS. The integrated debugger (wh... (by Disch)
April 2015 Pages: 123456... 52
  Archived months: [mar2015] [may2015]

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