Beginners - November 2009 (Page 13)

undefined error
 
Hi All, I am very new to c++ and my tutor has given me a file to use and I cannot get it to compi...
[4 replies] Last: Thank you so much for your help. I recieved the program as three seper... (by davefulton)
can anybody tell me what is wrong is my code
 
i am trying to get all the array arrange in 1 2 3 and - with 128 ...
[5 replies] Last: thx man it works (by bestnone)
Can't figure out where I'm off
 
First... My code #include <iostream> #include <fstream> #include <string> #include <cstdlib...
[6 replies] Last: I apologize for not seeing it correctly. I thought you are trying to i... (by writetonsharma)
by hubbu
Making Adjacency List with Vectors?
 
I'm trying to make an adjacency list with a class "Graph" containing a vector with type "Node." The ...
[2 replies] Last: Solved thanks to you Disch! Now I can get some shut eye. (by hubbu)
by Maggi
C program
 
How to write a c program to print 1,21,321,4321,54321 order
[4 replies] Last: ha ha: #include <stdio.h> int main() { print("1,21,321,4321,543... (by herbert1910)
questions on STL containers
 
if I declare something like set<int> s; set<int>::iterator i; s.insert( 4 ); i = s.begin...
[4 replies] Last: 1) where can I find the info as to whether the STL set or any other co... (by unregistered)
Unitialized Local Variables
 
I am working on a code that draws 4 triangles and keep getting the following warnings: Warning 2 ...
[1 reply] : I didn't look over this fully, but you need to take a close look at yo... (by Disch)
by destro
Generating 2 different random numbers
 
I'm back with more problems. this time around I need some help with get this program to generate to ...
[3 replies] Last: A pseudo random number generator is just a math equation. Basically... (by Disch)
pointer question
 
Consider the following code: char s = "Hello"; const char* pc = s; // pointer to constant pc ...
[8 replies] Last: Agreed (by dunsondog109)
frequencies
 
Hello! i'm new at programming, and I wanted to write a program that reads a text from standard inp...
[6 replies] Last: I'm sorry! There's nothing wrong with it! I just asked because in cl... (by mercedes)
Beginner Requesting Advice
 
Hello everyone! My name is Jack, and I've come to you in seek of help. I have a fairly basic underst...
[11 replies] Last: Thank you all so much! I've decided simply to try Microsoft's compiler... (by JackUpNorth)
by GameOn
its not talkin long long a=111111111111(12 1's)
 
well in one code if i assign a=12 1's its showing tht "integer constant is too large for ‘long’ ...
[9 replies] Last: set your number as a float and divide it by 1000 to make it 11111111.... (by helios)
by Claymz
reading from several lines (1,2)
 
hi, i was wondering how to make a program, that would read numbers(which user would input) and fo...
[25 replies] Last: To discard input like " 577sad " you can use this condition in the if... (by Bazzy)
by Khaizz
hope someone give me some example ....teach me how to do ...
 
You are asked to create two classes: a)Class Course with attributes course code and faculty code b...
[9 replies] Last: You are missing a brace on line 10, You still have the course: thin... (by Bazzy)
can i do a multi-dimensional arrays like this?
 
i am totally lousy in programming i was trying to do a multidimensional arrays with 8X8 like this an...
[4 replies] Last: *(*(a+0) + 0) - first *(*(a+0) + 1) - second ... *(*(a+1) + 0) - n... (by writetonsharma)
by gedas
sorting
 
hi guys im creating a dictionary which would show the word and the meaning of the word this is wha...
[2 replies] Last: thanks for your reply, at this point am not very sure i understood wh... (by gedas)
C programming.. basic - program runs through without input
 
I know mostly C++. I haven't had any experience using C programming. If anyone knows a bit can they ...
[3 replies] Last: Also your last two scanf should be scanf( "%f", &x ); instead of ... (by kenshee)
Creating a file using fstream in a function
 
Hi, I seem to be running into far heavier resistance with an assignment than I initially intended...
[4 replies] Last: thanks, that helped (by nickg140143)
Define custom comparison
 
Hello fellow programmers. This question should be easy, but already wasted hours of googling and...
[1 reply] : You have an extra < before 'vector' on line 7 (by Bazzy)
Unhandled exception in function
 
I have this structure; typedef struct { valueType value; struct node*pries; struc...
[5 replies] Last: no way! thanks! (by sigutis)
November 2009 Pages: 1... 1112131415... 25
  Archived months: [oct2009] [dec2009]

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