Beginners - March 2011 (Page 42)

2D Array in function
 
Im trying to make a program that checks a suduko solution. Im having trouble though trying to pass a...
[1 reply] : http://www.cplusplus.com/forum/articles/17108/ (by hamsterman)
Guitar Program (advice/fixes needed)
 
(This is my first post, so forgive me if this is the wrong place) I am currently writing a C++ prog...
[5 replies] Last: Hey thanks for the suggestions, wish i would have checked back here so... (by skyfire101)
do-while loop for data validation problem
 
I have been trying to use the do-while loop to validate an int data input and following is the code ...
[1 reply] : do { if (input) { check = true; } els... (by tripydevin)
Velocity Change
 
hi, can someone help me out here, very simple, I got my ship moving and over time it gets faster and...
[3 replies] Last: Wouldn't you just have to do the exact same thing like you did for 'w'... (by firedraco)
I/O stream hw problem
 
Hey everyone, i currently having a homework assignment and i'm a little stumped. The assignment call...
[2 replies] Last: Well when i look at it seems right. Within my if statement i have my ... (by Gamerzdisease)
Read in data from a .txt file
 
I'm needing to make a little program that can read in data from a .txt file, put that data into a li...
[2 replies] Last: Considering you havee all the sorting down, im assuming youre using an... (by eXsolacyst)
accessing one object from another
 
New to C++ I used to PHP where you can pass objects around like candy. here is my situation and advi...
[1 reply] : Make the dealCards function take a Player by reference. (by firedraco)
Using cctype?
 
I've read through the reference pages here many times now, but I'm fairly new to programming and do ...
[6 replies] Last: #include <algorithm> #include <cctype> #include <functional> #in... (by Duthomhas)
While Loop
 
Hi, I'm trying to edit below using while loop to allow user to keep selecting choices until exit (op...
[4 replies] Last: Figured it out.... whooo hooo thanks for the pointer in the right dire... (by nani1799)
pointer deletion, getting segfault?
 
I have read a lot about pointers and I don't see why this syntax is not doing the right thing. I kn...
[1 reply] : 1) Only delete things you allocated with new. If you didn't new it, ... (by Disch)
Is this a binary false or bitwise operation or Did i make false?
 
Input.cpp: #include <iostream> #include <fstream> #include <bitset> #include <conio.h> using...
[no replies]
by Jimbot
LinkedList data retrieval
 
Hello, I have been having a go at making a linked list. I seem to be able to add entries to th...
[2 replies] Last: Thankyou fun2code - that was very helpful. I will look into the... (by Jimbot)
by vinweb
Graphics
 
Hi, I'm beginner to c++. Currently, i am learning to basics of c++. I've a very big question in my m...
[3 replies] Last: I would suggest learning a library specifically for creating GUIs. Gen... (by Albatross)
Clarify this for me
 
Here's a snippet from my book: Forward declarations: The requirement to define names before usin...
[1 reply] : Let's take that code: class Yang; class Yin { Yang y; }; class Y... (by Ramses12)
need tutorial
 
hi every body I am newbie to this forum I need some tutorial for developing GUI in visual C++ windo...
[2 replies] Last: Okay I don't know what's wrong with the link but copy and paste it... (by vintage)
How to repeat a simple program
 
Hi guys. I'm still new with C++. I'm trying to repeat a simple program. I'm not getting any erro...
[6 replies] Last: Fixed as below: #include <stdlib.h> #include <stdio.h> int sum... (by oldnewbie)
a question on function declaration
 
In the following class definition: class X{ // ... int m1( ); int m2( ) cons...
[2 replies] Last: If you have a const object/reference to type X you can only call const... (by Bazzy)
Accessing size from another class
 
Hello, I'm having trouble with multiple stuff in my polynomial program. First of all, I can't seem ...
[no replies]
Referece in a function perimeter understanding
 
void ChargeTrack(tracks track ,GWindow &Gwin) ChargeTrack(&track ,Gwin); tracks is a struct and ...
[3 replies] Last: in c++ passing an array to a function means passing it's pointer. "sol... (by hamsterman)
Int To String Trouble
 
Hello , i have a question about Visual C++. i have an integer value which created with rand() fun...
[1 reply] : This looks like some kind of Managed C++, rather than C++. The func... (by Moschops)
March 2011 Pages: 1... 4041424344... 52
  Archived months: [feb2011] [apr2011]

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