Beginners - June 2011 (Page 11)

converting to uppercase
 
i got a code from google to convert a string to uppercase but i am not able to figure out how is it working...plz help me out....the code is as follows #inclu...
[6 replies] Last: It'd be a lot clearer if you just used toupper (by quirkyusername)
Help with saving and loading.
 
Hi all, I was wondering if any of you could help me with saving data, overwriting already saved data, and loading data. I was hoping to use this for a project I...
[4 replies] Last: Thanks mate. (by URSvAir)
Taking the plunge with GUI's - and already got a weird bug.
 
Having messed around with basically doing maths for a long time now, I've finally decided to take the plunge with trying a basic GUI using the examples on this ...
[7 replies] Last: Put a capitol L right before the first qoute mark, dont ask me why bu... (by hampshire2012)
by Prudok
Random
 
Hello, i asked my last question long time ago, and i have got another one. How me to assign some possible values to varibale, and then display random value on d...
[1 reply] : You can create an array that will contain the possible values, and the... (by Nisheeth)
How to create an array of strings"
 
Hi guys, Can you please help me with this piece of code. char **row_name; char trans ; row_name = malloc((100) * sizeof(char *)); ...
[2 replies] Last: Thank you very much. Andre (by andreolivera)
by Jsel
Initializing static 2D array member?
 
I want my class to have a static member variable that is a 2D array, But I don't know where to initialize it. The code below is meant to initialize the static ...
[9 replies] Last: Why is it that I cannot define grid in organism.cpp without getting a ... (by Jsel)
A Runtime error while using Substr
 
I am retrieving data from a file using getline . Then I am using find to look for an IDNumber in the string. And use that to put it into a substring ,...
[6 replies] Last: Well, tried that as well now. The problem persists. Full_Data in blank... (by Nisheeth)
by ascii
Involving Inheritance
 
Okay, so I have a class called CObject and there is a class called CMove that derives from it, and then a class called CMoveableObject that derives from CMove. ...
[7 replies] Last: Thank you. My hierarchy is essentially CObject -> CMove -> CMoveableO... (by ascii)
Is this book good?
 
I have little to none coding experience. From what I've read Programming: Principles and Practice Using C++ ( http://www.borders.com/online/store/TitleDetail?sk...
[1 reply] : If I were you, I would go to a bookstore/library and start reading one... (by Maese909)
Learning with older books--dangerous?
 
After starting to learn what i could call my first programming language (c++) on internet I decided that moving on to restart learning on a book as it could pro...
[12 replies] Last: 400 pages is too many pages for the STL, IMO. Anyway, keep reading--y... (by moorecm)
system()
 
i just read an article why not to use system("cls")...but what is another alternative for it??i mean what else can i do to clear the screen??? i am using wxdev...
[16 replies] Last: Use ncurses to clear the console screen, although most likely in your ... (by moorecm)
by codrgi
trace
 
would someone explain what the trace() function in c++ is used for?
[1 reply] : It creates beautiful long-exposure photographs. ;) Okay, seriously, t... (by Albatross)
Counting lines between words for multiple data sets
 
Hi everyone, I know there have been slightly similar posts for counting the number of lines between specific words, but none of them were quite what I'm lookin...
[8 replies] Last: Thanks for the help LB, After a bit more searching around on my own I... (by question3099)
by qwertz
Linux - reading pipe never end
 
Heylo! I have a pipe in ubuntu, where syslog-ng writes in sometimes. Now I want to open this pipe in an c++ program, and read the data line by line. So th...
[1 reply] : You can use those headers and functions in C++ programs, as well. (by helios)
Why am I getting these weird results?
 
When I run the program bellow with this input: 12 .45A 32 I get these really strange results. x = 12 y = -858993460 ch = ╠ z = -9.25596e+061 Here's the pr...
[2 replies] Last: Well, such an extraction from cin I have never done from keyboard, but... (by webJose)
by tonnot
Cant pass a std string by reference ???
 
I have a classA with a simple method that returns a std string: std::string classA::cadena() { return "hello"; } Into class B I have void classB::w...
[10 replies] Last: Incredible...... Thanks Can anyone look at my last terrible problem ?... (by tonnot)
by timmy
problem in c++
 
i am a beginner and i have completed reading the tutorial given here....but still i am unable to solve most of the doubts posted on this forum...it's only once ...
[1 reply] : First of all I think you already have the most important skill that a ... (by kooth)
Converting an String to an Integer
 
I retrieve a string from a file that contains only numbers. Now I want to convert it into a integer form to perform arithmetic operations on it. Is there a way...
[6 replies] Last: Streams know how to convert many (if not all) native data types to a s... (by webJose)
"if... else" and "loops"?? What am I missing? (1,2)
 
Alright so I have to create a simple calculator and need to include the following features: - an "if... else" or "switch" structure - Display of an invalid op...
[24 replies] Last: #include <cstdio> #include <cstdlib> #include <iostream> using na... (by yash14chaudhary)
Return float value from function
 
Hi, I'm very new to C++ (started learning a few days ago). I'm new to the forums here also, so: Hello all (hello world?), pleased to meet you, I'm Thom. I'm ...
[2 replies] Last: Thank-you - all fixed now! (by Darksea)
June 2011 Pages: 1... 910111213... 41
  Archived months: [may2011] [jul2011]

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