Beginners - November 2010 (Page 12)

Arrays
 
How i write this code? No I will explain the code clearly? some one help me....!:( Example of two ...
[2 replies] Last: Ill get you started with inputting the first array notice that i us... (by shredded)
by hit45
C++ tutorials question about variables
 
I'm new on this stuff for the most part. I'm practicing using the tutorials on this site; Documentat...
[8 replies] Last: ;p good one. The tutorial uses that as the example. I learned about 's... (by hit45)
by cboyll
matrix function?
 
im trying to write a simple program for a class where u write a function that takes a number (n) and...
[no replies]
Passing by Reference
 
I wrote this function: ostream& operator<<(ostream& out, LoginData& a) { out << a.getLogin();...
[4 replies] Last: passing by reference allows you to access the data as if it were by va... (by jsmith)
Confused with loops and random numbers
 
I've been very confused on how loops work and how random numbers work. I want to make a loop that w...
[1 reply] : pseudo-code: declare number_chosen; do number_chosen = ra... (by jsmith)
What is this?
 
string string1("Confused"); int length = string1.length(); char *ptr1 = new char[length +1]; *pt...
[1 reply] : string1.copy(*ptr1, length, 0); *ptr1 = '/0'; Neither of these ... (by Disch)
Array input from file
 
The compiler says my program is fine, but it doesn't work properly. In my program I put the first nu...
[1 reply] : the test file contains: 10 3 0 1 2 4 -7 1 3 2 1 (by Spiffy P Mcgee)
How do I fit this program into a array and function?
 
This program I'm working is just for studying purpose's for a c++ test I'm having soon and would lik...
[no replies]
by Eyecon
Functions Question
 
Hello, I want to make a function which will cin a string will count the characters and will g...
[11 replies] Last: char Setsolution(char array , int n); Setsolution( solution, wordsiz... (by ne555)
Getting undefined reference to vtable errors
 
I'm guessing it's because I've written this incorrectly, but I'm not sure what to look up in order t...
[2 replies] Last: Oh..wow, I feel like an idiot. Thanks. (by pabloist)
File input using >> problems
 
If someone could explain to me why this code doesn't work, that would be great. #include <iostrea...
[1 reply] : for (int count = 0; count < employees ; count++) why would you comp... (by hamsterman)
Problem with inputing numbers
 
Hello, this is my first time taking a programming class and I started with C++ at my local community...
[1 reply] : The format is wrong, use "%lf" for double (by ne555)
by Nico
How to use variables from a class in an other class?
 
Hello all, I am trying to use and change the values of a variable in other classes. I'd think th...
[2 replies] Last: Thank you for your reply. I agree the code is a bit messy at this mome... (by Nico)
Fraction functions
 
Hello, I am a beginner in C++ and need some help with some functions.. Write a function of sho...
[2 replies] Last: // Datoteka: N14.cpp // Funkcije za krajsanje ulomka, za sestevanje, ... (by majselx)
by lare26
Terminated unexpectedly
 
I ran my code and got an error. Process terminated with status -1073741676 (0 minutes, 10 seconds) ...
[4 replies] Last: Thanks for your help, hamsterman. Somehow I fixed it. It was the way I... (by lare26)
Build array of values from data file.
 
Hello, I am new to this forum; please forgive me if this question has been previously posted. I ...
[15 replies] Last: that's because 'test' already does the reading, so it happens twice. (by hamsterman)
by firix
referenced in function " void *thiscall B::`scalar deleting destructor'
 
Hi, a.h #pragma once #ifndef _A_H_ #define _A_H_ #include "b.h" class B; u...
[18 replies] Last: thank everyone.. (by firix)
by Citis
programming operator +
 
Can I programme the operator + for new data types, like the below example? typedef int pinax ; ...
[5 replies] Last: Thank you, this really helps. (by Citis)
by Maniax
Game Programming
 
For quite a while i have been learning the basics of C++. I read all the documentation on the site a...
[3 replies] Last: I downloaded and installed SFML and it seems awesome :) Thanks :) (by Maniax)
how do menus in games work?
 
I implying in the sense that in games on ps3 and 360, the player can easily press back and go forth ...
[7 replies] Last: Thanks I'll have to check with my lectures with regards to SFML, anywa... (by Blessman11)
November 2010 Pages: 1... 1011121314... 42
  Archived months: [oct2010] [dec2010]

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