Beginners - April 2013 (Page 65)

by sumsar
I have a bug in a array i cant find.
 
what have i done wrong ? #include<iostream> #include<string> using namespace std; main(){...
[5 replies] Last: He he Vlad! Are you copying my reply again? ;) (by Catfish3)
How do I call a method pointer?
 
Ok I appear to have done my head in. I have a class called codon : typedef double const (Cod...
[2 replies] Last: If I do this: auto pointer = &(*it_codon_sequence); (pointer->*Fun()... (by ausairman)
Create a row and add it to matrix.
 
//matrix : 12 5 35 35 35 65 170 48 15 190 85 27 27 24 100 315 119 600 116 129 70 88 110 145 90 90 ...
[8 replies] Last: You can use the following function which I wrote without testing. in... (by vlad from moscow)
Please Help
 
I want to become a COMPUTER PROGRAMMER but idont know how to start to it sa please help, PM in me...
[3 replies] Last: Thank you Very Much Jonas Wingren and Hazique but what the best appli... (by blitnathz)
Read file and Insert sort in one function
 
Hi there, I'm supposed to a data file and Insert sort at the same time. the insertion must be in ...
[no replies]
by Hotice
std::string throwing errors?
 
I am sure this may be some basic error, but cannot seem to find it. I don't know if it seems to be s...
[2 replies] Last: and this is because string is an object, not a primitive data type. It... (by Hotice)
Passing arrays to and from functions
 
Okay, so I'm in my first semester of programming. I am creating a "Go Fish!" card game program. Ever...
[5 replies] Last: I must stay inside the confines of what we learned in class. ^^ thi... (by GaGoKoYa)
Help Needed
 
Write a program that loads a 10-element array with random integers from 1 to 1000. There is no inp...
[2 replies] Last: This is quite simple. I succeeded with 4 lines of code :P. in order ... (by Bawnawgwa)
Pointer code define style...
 
Right, I've seen pointers defined in three ways. Which way should I be using? int* pointer; in...
[3 replies] Last: In the interest of showing the other side, the counterargument is usua... (by Zhuge)
string typ variables not working
 
#include <iostream> #include <string> using namespace std; int main () { string mystring = "Thi...
[7 replies] Last: yes that was the error. thank you for helping :) (by yasitao3)
What does this mean????
 
This is what my Book Says: //start Alternative Function Syntax The C++ 11 introduces an alt...
[2 replies] Last: ok thats definitely beyond my current knowledge but thank you. (by Anmol444)
by Keelan
Char array comparison
 
I'm, sorry for all the questions. But I have one more problem. I finally found out how to compare my...
[2 replies] Last: You could make a separate counter for wrong and right answers and the ... (by Zhuge)
Calling Function Issues! Need Help ASAP Please!
 
Allrigghty, Here's my problem and my code Have to calculate two returning values: The fat percent...
[6 replies] Last: Oh wow nevermind. For some reason it had put the prototype for it as a... (by mcnevermore)
Direct File-write: insertion by stream
 
I'm not new, but I feel this is probably a simple thing to do. I know how to replace a line by load...
[13 replies] Last: @naraku Yes, I know it doesn't. The problem is that there has to ... (by IWishIKnew)
Using a pass by reference
 
Hey, this weeks assignment asked us to do a pass by reference. If anyone can give me an example or e...
[6 replies] Last: Indeed, and in some cases you need to avoid using more memory. When yo... (by Austin J)
Calling a member function from another class.
 
Getting different errors no matter what I seem to try. This is an assignment, I can't use pointers,...
[2 replies] Last: Thanks! Works perfect! (by Chris Meyer)
by Keelan
Char array not recognize certain letters
 
int main() { const int Teachers_Array= 20; //Array Size const int Student_Array=20; // Array S...
[4 replies] Last: Ah ok Booradley thank you. I should have came back and saw this earlie... (by Keelan)
Random Number Generator?
 
How would I make a random number generator, that only generated integers from 1-50, and then can I c...
[12 replies] Last: Thank you, booradley60 =) I will take a look at it but i haven't gott... (by LuckyShot)
While loop for guessing a persons age
 
Write a C++ program that uses a while loop to guess a persons age, ask the user if they want to try ...
[5 replies] Last: // Generate random age to be guessed srand(time(0)); int age = rand() ... (by Banshee1)
First time big project questions:
 
Hi! Starting a big game project now and I want to ask some basic questions. 1. What's the best w...
[4 replies] Last: ok, nice. Didn't know that. amazing how a simple line can change your... (by Jonas Wingren)
April 2013 Pages: 1... 6364656667... 83
  Archived months: [mar2013] [may2013]

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