Beginners - March 2009 (Page 16)

need advise for coding
 
i need some advise to begin coding of vector field histogram. but i really don't understand how to ...
[2 replies] Last: sorry about i copied wrong quistion but now i changed real one (by gantsooj)
by js6216
unknown error in basic recursion problem, code included.
 
Hello world, I am writing a recursive function called maxArray as a practice problem from my data st...
[5 replies] Last: I know this is all about use of recursion, but these bits here seems t... (by guestgulkan)
What does #J stand for in C++
 
Hi All, I am new to C++ and programming. While compiling a financial program an answer came out "$1...
[1 reply] : Well, I don't really know what it means, but it's most likely a NaN (N... (by helios)
Simple Arithmateic on a vector
 
My Problem: I am just passing a small vector into a function. The function's goal is to return the...
[6 replies] Last: Just for the record, adding a decimal point to a numeric literal will ... (by seymore15074)
What is % stand for in C++?
 
Hi, I'm pretty much new to C++ and programming. Anyway I was reading my programming book and in one...
[3 replies] Last: You are welcome. (by MMZJSFMMX10MM)
by jaydr
problems using header files.
 
First this program is just a test to see if functions calc and return right. i plan to do more after...
[5 replies] Last: Thank you grcunning. in the .h file is should have just the function d... (by jaydr)
by yukiti
[problem]pointers and recursive
 
int arvore::AddValor(node **t, string chave) { int saida; if(!(&(*t))) { a...
[1 reply] : I resolved the problem is not: saida = AddValor( (*t)->esq, strin... (by yukiti)
by dman
How to initialize non constants in a header?
 
How can i give dynamic assignments in header files. eg: //(--in the header file for all "glo...
[2 replies] Last: If you want to see what 'professional' header files look like, just lo... (by guestgulkan)
by boggle
reading different data values from file
 
Hi. I'm working on a problem where you read data from a file, accumulate a total, and then output t...
[1 reply] : When reading strings, the >> formatted input operator stops reading... (by guestgulkan)
Randomizing a database
 
I am very lost. I am not sure this a begginer question, or if I am posting in the proper place. Addi...
[no replies]
Hexadecimal in Array
 
I have 4 values ( hexadecimal ) in a Array: int WIDTH ; Let say it is 11 0D 00 00 I have t...
[3 replies] Last: If you know your program will only run on little endian CPUs, you can ... (by helios)
by pjesh
How to identify range
 
Write a C++ program that gets an input mark from the user and then displays the grade of the mark, b...
[2 replies] Last: Why use a switch, I think switch only works with ints or chars. if ... (by grcunning)
ask questions until condition met (continued)
 
Ok the saga goes on... if you try input all the other flavors and options everything works fine... ...
[1 reply] : Right now, both icecream and sauce are being checked against the s... (by jdd)
Algorithms mergesort
 
hello!!! i being need algorithms merge sort.who are you have this algorithms? thanks
[1 reply] : look on wikipedia. (by jsmith)
Program to identify the closest value from a range of values
 
I need to write a program that has as input a floating point number e.g. 2.3162 The program then ge...
[11 replies] Last: ok - thanks. I have run this and it seems to give correct output. I ne... (by youknowme)
Matrix of Strings
 
No clear (to me) material in the web. Hence I am posting here. I must allocate memory for a matri...
[5 replies] Last: Thanks to everyone! Very much appreciated. (by paolopiace)
by masiht
stringstream question
 
Can anyone please tell me what is the line stringstream(mystr) >> yours.year; doing in this progr...
[5 replies] Last: Thank you bazzy ! (by masiht)
spaces in char array input
 
Hi folks I'm relatively new to this and I'm sorry for posting such a mundane question but I'm writin...
[7 replies] Last: thank you very much for clearing that up for me, you've all been extre... (by crinkelite)
by Prissy
where can i find the source code?
 
I wanna compare my code with the source code in STL.... But I cannot find it.. Does anybody know w...
[1 reply] : For STL the sourcecode should be in the headers, you can also see in t... (by Bazzy)
logic question
 
Im helping in a group project and I just wanted to know if my code is logically correct. The reason ...
[4 replies] Last: just inline the function. macros are evil. (by jsmith)
March 2009 Pages: 1... 1415161718... 29
  Archived months: [feb2009] [apr2009]

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