Beginners - November 2012 (Page 26)

c++ beginner
 
Hello all! I am new to C++ and I was given an assignment to calculate the future value of an ordinar...
[19 replies] Last: This is a great example of the pitfalls of trying to write code on the... (by nathan10)
by alext
How to randomly pick a cordinate in a 2D array?
 
Hi, I'm trying to make a simplified version of the Battleship game. I have an 2D array with 4x4 col...
[8 replies] Last: ok cool, thanks! (by alext)
Need some assistance
 
Have an assignment and these two below I am not getting Write a function called decide that wi...
[1 reply] : Where do I even begin?? Well, it says WRITE a FUNCTION called DECID... (by Moschops)
substract two random access iterators: how
 
std::vector<T_VolumeChangeMove_NeighboursByVolume> *neighbours; template <class EnsembleType> ...
[1 reply] : ub is not an iterator, it's a pointer to one. (by Cubbi)
sentinel controlled loop
 
I have all my code and it works perfect but one of my requirements is that the program should allow ...
[2 replies] Last: Here is a better way to quit from a loop: http://www.cplusplus.com/f... (by TheIdeasMan)
by myoni
use function in template only to specific type
 
Hi everyone I want to use function in template only if typeid==string but I'mgetting this error: ...
[2 replies] Last: amazing, thanks a lot (by myoni)
by myoni
chrck if item is NULL with template
 
Hi I want to know if my var is NULL or not. the var can be string or integer. this code is ...
[11 replies] Last: can you give me example on my above code ? Sorry, I never dealt with... (by coder777)
using switch with string
 
This simple program I made is to rise a student database with only using name as the input. I've tri...
[10 replies] Last: :: is the resolution operator. You use it to get something out of a ... (by Catfish2)
by avesh
help in recursion
 
void myFunc (int x) { if (x > 0) myFunc(--x); printf("%d, ", x); } int main() ...
[2 replies] Last: thanks but when i compile it the o/p is 0 0 1 ...... how come that.. (by avesh)
Input
 
Hi; Trying to input something that has more then one character. This is the line I'm trying to in...
[7 replies] Last: OK whats wrong with this search section of code? It does everything up... (by jlillie89)
Calculating challenge for large numbers
 
Hi folks. I have problem with multiplication and division when it comes to arbitrary large numbers. ...
[3 replies] Last: 12345* 56565656565656 = 6.9830303e+17 I can see where that may take... (by johncplusplus)
Why are my output numbers so large and random?
 
Hey everybody. I'm writing a program that will take a text file and output how many votes each candi...
[3 replies] Last: I tried reformatting my code but to no avail. Where specifically did I... (by closed account LNAM4iN6)
by Xanadu
Help with creating a search function
 
Okay so I am posting a new thread because the other one I made was kind of on the wrong track. I am...
[no replies]
by Mau
Vector finding max value errors?
 
trying to find the max number in a vector were you input the numbers. ERRORS: max1.cpp:39: error: i...
[5 replies] Last: thank you all specially toum since that actually worked execpt i had t... (by Mau)
Lottery Simulator Homework Problem
 
Hey all, I've been working on some code for a homework assignment in my Computer Science I class, an...
[7 replies] Last: Replace line 85 with this: printf( "\nEnter digit # %d of 5 Between ... (by Incis B)
Linear search for strings in an Array
 
I am trying to find names in sequential text file. I want to find the name, if it exists, and do som...
[2 replies] Last: Thanks for the reply soranz. I have added your code to my project in t... (by joshsmith01)
YouTube Promotion
 
how much important YouTube views, likes and subscribers to a youtube video ?
[no replies]
[NEW PROGRAM] MathTools
 
I have release a new function program that was on win32 application. I also need somebody to test it...
[13 replies] Last: I've read about it and it say that if you don't change it to release m... (by CyraxNguyen)
I request help picking out software
 
I want to bring myself into the 21st century, in the programming arena. I have a few concepts for v...
[9 replies] Last: KeepingUp, Listen to these guys ( Moschops && softwaretime) they know... (by Incis B)
Not sure how to fix my code.
 
I have to write code around my instructors code and I cannot make changes to his code. So I am not s...
[2 replies] Last: thank you idk why i could not see that lol. (by OLittleO)
November 2012 Pages: 1... 2425262728... 75
  Archived months: [oct2012] [dec2012]

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