Beginners - February 2010 (Page 21)

Assigning Variables Within an Array
 
Hi guys, just wondering if its possible, instead of assigning values to an array, can you let the user define them. as in: int userinput int MajorInterval ...
[10 replies] Last: Thanks, its good to know that people are willing to help. and final... (by thealchemist)
What is the symbol for does not equal?
 
I am making this forum post because I cannot figure out what the symbol for does not equal is. Example of what I would like to know. if (x (does not equa...
[3 replies] Last: thanks for your help chris (by allenanders)
Stacks
 
////
[2 replies] Last: thanks for the reply works now (by code101)
the second "If" statement
 
In my geometry calculator, I cannot get the the second or 3rd "If" statements to correspond after entering the correct number. Does anyone know what the problem...
[5 replies] Last: If your if statement lasts for more than 1 line, you need to put the w... (by QWERTYman)
Passing an Array to a Function
 
I don't fully understand why I'm getting this error for passing a 2d array to a function. Here is my code followed by the error. Any help is greatly appreciated...
[1 reply] : carrier This is an int, not the array (it is also out of range ... (by firedraco)
What is the different between variables?
 
What is the difference between the variables?
[7 replies] Last: What are their main differences? Between integral types, the main dif... (by helios)
by joshky
Issues with sstream and ifstream
 
I'm trying to mess around with sstream and ifstream in this simple banking program. I'm totally confused as to what exactly is going on with this code, I know ...
[3 replies] Last: tempdouble is declared at line 8, and then assigned a value from my ss... (by joshky)
by Xivor
Using headers and structs in C++
 
Hey all, I cannot succeed at this (i thought easy to solve) problem. I want to use a struct array in a .cpp file, declared in a .h file. My main problem ...
[9 replies] Last: You will want to quickly learn the difference between a declaration an... (by PanGalactic)
by Lift0
Node Matrix class
 
I am constructing a Node Matrix class, that is, for general purpose. To consider each point in the matrix instead as a pixel, now I want to consider every point...
[2 replies] Last: Yes! But only so general that I can create and use a matrix with Node*... (by Lift0)
Changing Array Values
 
Hi again all, i'm looking to change the index of my array with a for loop, but for some reason i'm getting these build errors: error C2143: syntax error : mi...
[11 replies] Last: And if you look at my explanation you will see I'm explaining the OP's... (by guestgulkan)
A static member with an in-class initializer
 
Hi there! If we need a static member, we can declare it: * without an in-class initializer (this requires definition outside the class) class T { s...
[3 replies] Last: Sorry, in your original post I missed that one declaration was const w... (by jsmith)
Function overloading, is this the correct definition?
 
Is the following definition for overloading functions in C++ correct? "Overloading a function simply means taking a function that is named the exact same thi...
[5 replies] Last: hi i hope someone can help me understand this question: Write a... (by Carol)
Is there a function like memset that can handle larger types for Value?
 
Memset Value only handles ints, but I am looking for something that can write something like DWORDS to memory. thanks in advance.
[2 replies] Last: Thanks! (by AlwaysLearning)
hex
 
im trying to do a program that outputs certain things on a txt file. one of those things is a hex coding. i know you can print out an integer in hex format bu...
[3 replies] Last: oh didnt know about setfill thanks. (by raikiridragon)
Simple Program Problem
 
Hello all, I am getting no errors in this program when I check it in visual studios, yet when I try to run it, the 2nd option (2. Calculate the area of a rectan...
[2 replies] Last: Ahhh I see, thanks alot man, appreciate the help (by ksport99)
GOTO labels
 
I was told along time ago that goto labels in c++ are evil and that I shouldn't use them... I want to know why because they seem useful (in my opinion) espec...
[3 replies] Last: You know, this exact question was asked and answered yesterday. htt... (by PanGalactic)
Pointer and Array display issues.
 
I've been struggling with a couple of issues trying to get my program to properly display the correct values inputted. The program is supposed to operate by tak...
[3 replies] Last: Reconcile the types on lines 12, 34 & 61. Also, it would help if yo... (by PanGalactic)
ADTs
 
Hey guys! I am new to programming and i have this big problem to present tomorrow. But i dont have the slightest clue on how to solve this problem. Could som...
[17 replies] Last: He-Man... da da dadada da da :P... (by Incubbus)
Math problems, Pi and other things.
 
Hello, im new to C++ and am just trying to create a simple calculator. im having problems with my CapImp function. whenever its called it crashes the program, ...
[7 replies] Last: you can use long double for such an accuracy Really? How many pla... (by beginner at programming)
by matpaz
Hello, beginner question....The clearest and completest C++ book
 
Hi all, I'm a newbie and i'd like to learn C++. I started programming many years ago in basic (the old GwBasic with dos 3.3), and some assembly for Z80 and...
[1 reply] : The C++ Programming Language ? Yeah, that's extremely high level. In ... (by tummychow)
February 2010 Pages: 1... 1920212223... 32
  Archived months: [jan2010] [mar2010]

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