Beginners - January 2010 (Page 16)

by Wylbur
Char Strings in CLI Managed Heap
 
Hi all; Excuse me for being an idiot, but ... I am trying to initialize character arrays...
[no replies]
double lacking precision
 
#include <iostream> int main() { double x = 123.456789; std::cout << x; return 0; } ...
[2 replies] Last: Notice that due to floating point arithmetic imprecision, if you show ... (by Bazzy)
by MMag
Pointers to Structures and Objects
 
Hi all. So, I 80% comprehend what a pointer is all about. But, what is the use of pointers to ...
[3 replies] Last: Additionally, if the pointer will always point to an object (ie is nev... (by moorecm)
by MMag
Pointer As An Argument for A String
 
Hello! Why do you pass a pointer through a function when you want to pass a string? Like this ...
[5 replies] Last: Thanks all guys, it's all comprehended now. Thanks for your efforts. (by MMag)
read a multidimensional dynamical array from txt file
 
Hi, this is my first post here and my second day programming in C++. My program should read a fi...
[1 reply] : You seem to have a misunderstanding of how multidimensional arrays wor... (by firedraco)
by Anton
Swapping contiguous layers in 3d array
 
Hi guys I'm really new to C++, so I don't quite get connection between arrays and pointers and how ...
[5 replies] Last: Obviously, if you're going to be making switches and not just copies,... (by IOwnTheWeb)
by nammae
Why doesn't destructor work?
 
// class Polynomial // Constructor, Destructor // Friend Function, Operator Overloading #inclu...
[12 replies] Last: f = p + q; will work just fine, though it is probably less efficient ... (by jsmith)
by wolak
problem with array when trying to compile
 
I have been sitting at this for 2 hours now, and can't figure out what the heck the problem is. I b...
[1 reply] : void readdat(float& x, int& n); void minmax(float x, int& n, float... (by Sericet)
classes
 
Can someone remake this code to make program work not with char datatype,but int? CharStack.h ...
[7 replies] Last: Done. I could very well be wrong. :-) (by Duthomhas)
by Anton
Dynamic memory allocation
 
Hi all! I have a two-dimensional array of char strings (char ). The first dimension is known(numbe...
[13 replies] Last: Because heap memory does not free itself. If you have variables on the... (by tummychow)
inline asm
 
Hello guys, I'm trying to insert some inline asm codes into a project but I have a doubt about it...
[3 replies] Last: i--; (by jsmith)
by August
connot fix errors
 
Id like it to compare the words... But i only get the word cat once and i need to get it twice... ...
[1 reply] : Actually, I think you do get the word twice. It just happens to be di... (by moorecm)
by Aiyen
Difftime problem
 
Hello all I am currently writing a program where I need to know how long it takes for it to do a...
[3 replies] Last: Okay embarrassing, the problem was because I had an array called tim... (by Aiyen)
Vector<string> trouble
 
I am tryng to display a random vector string. The vector object gets randomized, but the problem is ...
[4 replies] Last: SOLVED! I was using <cstring> instead of <string> in my headers, it wo... (by itzjonno)
Hungarian notation
 
For what are hungarian notation ? u know this example int iGamer for what are this i and then big...
[13 replies] Last: i loled at this ;D Some used their code to publicize office mis... (by gcampton)
Program... question
 
hmmm i trying to make this Modify the program so that if the user scored a 90-100 it informs the us...
[4 replies] Last: read http://cplusplus.com/forum/beginner/1988/ as to why you shouldn'... (by gcampton)
by freeze
PROBLEM REGARDING IF statements
 
I'm a first timer using if, else , or and and statements.cant make a problem 4 this one . if gra...
[16 replies] Last: oh god.. what a spoon feed.. (by blackcoder41)
Game Server files (1,2)
 
Hello all im new to c++ you dont know some good tutorials about how make server files i have ms...
[24 replies] Last: Thank you Sericet. @firedraco, I hope so. (by chrisname)
how do i make this work?
 
how do i make it so this compound if statement only executes if ALL the statements in the () are equ...
[1 reply] : take out the commas and use the logical OR ||, or the logical AND &... (by gcampton)
if else statement
 
i cant figure out why my program isn't working. if i take out the "else" statement, then it runs fin...
[5 replies] Last: [quote=tummychow]NO BRACKETS BECAUSE THERE IS ONLY ONE LINE OF CODE ... (by R0mai)
January 2010 Pages: 1... 1415161718... 24
  Archived months: [dec2009] [feb2010]

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