Beginners - July 2013 (Page 35)

help me
 
can someone give me a hand my exam will be after two days pls. Your program should contain at least the following functions with suitable parameters:  ...
[3 replies] Last: int Num_elements=LoadInfo(city,yesTemps,todayTemps); On this line y... (by Raezzor)
mess with pointers
 
hello everybody i'm making a(nother) mess with pointers and addresses. this time i want to make a simple SFML application. here is a simplified code: cl...
[13 replies] Last: oh, i understand now. i'll have to make some tests on that later, as i... (by Stauricus)
Console glitch
 
I have a multi function program with cin.get(); and return; at the end of every function. When I compile my text entry and response program, it says "Exited wit...
[8 replies] Last: But the program starts in main. If you have nothing in main, nothing w... (by Peter87)
New beginner group - looking for / creating one
 
Hey, I'm a fairly beginner C++ programmer. I've read a couple of textbooks (right now I'm finishing "C++ primer"), and a some years ago I made some simple progr...
[3 replies] Last: Video games interest me. My expirience is in variables, text entry, te... (by closed account NUj6URfi)
segfault on one pc, runs on another
 
i get a segfault on one computer and the same code runs on another? I am no sure what to make of it. #include <iostream> #include <map> #include <string> ...
[no replies]
I want to make games, where should I start?
 
I recently made a post about making a game similiar to Legend of Mana. I started reading two c++ books that aimed at making games, but after skipping a head...
[3 replies] Last: Thanks for these responses. (by yougetagoldstar)
Question about C struct
 
struct names { char mine ; char his ; }; struct names names1; In the code above, why can't I do the variable declaring like this : ...
[2 replies] Last: So struct names is 1 type? (by MiguelC)
by Class
How to create a calculator that does +,-,*, and /?
 
I learned how to create a calculator that adds numbers, but that is all it does. I want to create a calculator that can add, subtract, multiply, and divide, but...
[4 replies] Last: Are you asking for help in creating a windowed calculator or a calcula... (by Group of Eight)
by aleph
inheritance
 
i am a semi beginner learning about inheritance can someone tell me why the name and re_no would not appear in the output please?? // assignment.cpp : Def...
[3 replies] Last: okay ill do tht thnx a lot. (by aleph)
getting only one key/value iterating map
 
I am trying to obtain the values of a given text file. I think i did the process right (though sloppy), but not sure if it was correct until i display all the k...
[2 replies] Last: Line 59 needs to be moved to before the while loop begins. Line 62 nee... (by cire)
Hangman
 
So I'm coding a "Hangman" game, where the user tries to guess a word by entering letters one at a time. Every wrong guess gets the user closer to getting "hange...
[3 replies] Last: Reference worked great, even though I don't really get how it works, b... (by GoranGaming)
Dynamic allocation of char**
 
Given: I have an array of dynamically allocated char* array. char** myString; And I allocate it with myString = new char* ; Then I initialize it with n...
[4 replies] Last: Thank you for the explanation. Marking thread as solved. (by Nenekonesha)
My code is too exact? Please help.
 
NEVERMIND
[4 replies] Last: even if you've figured it out, you shouldn't delete your post... it's ... (by chipp)
Help with fakelogin
 
I am reading a book in c++ programming, but i cant get this code to work. i am making a fakelogin in microsoft visual C++ 2008 express edition. #include "...
[6 replies] Last: fixed it. thanks Metal Militia for all the help. changes i did. #in... (by RB68353)
How Access the the enum fields...
 
I make a program in of inheritance in which I declared an ENUM Type enum BREED {GOLDEN, CAIRN, DANDIE, SHETLAND, DOBERMAN, LAB}; I am inheriting some function...
[2 replies] Last: Simply, you can't. A straight forward way is to have an array of c-st... (by Lowest0ne)
by aggsyb
Searching a string for data between symbols
 
Hi , this one should be fairly simple I am unsure of the syntax to be able to get the data I am looking for between two symbols in a string, for example. I have...
[6 replies] Last: begPos is the index into the string where the first character is found... (by Zhuge)
Super simple functions question
 
I'm new to using functions and all I'm trying to do is get the user age using a function called getAge. The problem is that it keeps saying "error the identifie...
[3 replies] Last: That was it, thank you =) (by rajputsadia)
Array of records
 
Hello, given an input file with the following information, I would like to write a program that will accumulate the total hours worked for each employee using a...
[no replies]
Question about this code
 
The code below is what I have so far. It's supposed to basically mimic a random coin flip where the user enters how many times he/she wants to flip the coin. Ho...
[3 replies] Last: Thank you! I put the seed in main, and it fixed the problem. Thanks ag... (by saintforhire)
char and trouper function
 
im new to c++ and recently i made a program my self and got it working but i stumbled upon this char and trouper function as 1 forum user suggest that i use it ...
[2 replies] Last: ideasman, thx for the info.. as i am not really good in searching an... (by xeimaster)
July 2013 Pages: 1... 3334353637... 53
  Archived months: [jun2013] [aug2013]

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