Beginners - July 2011 (Page 32)

by daphne
Converting set of string of text file into char array
 
Hi. I try to convert set of string inside a text file into array list. But I encounter some error. I use the method of reading a text file line by line. After ...
[4 replies] Last: @Warnis: I need to convert the string class into char array. If I dele... (by daphne)
People who read programming books arent real programmers.
 
Hey, my uncle is a chef. He works at a restaurant and makes food... Anyways some new higher up has come in switching everything around... he's made my uncle cha...
[7 replies] Last: Yeah this was a pretty bad question. Thanks for all the answers. I gue... (by brokenbot)
by PizzaE
How to make a boolean return if the button 'R' is pressed?
 
I started learning C++ yesterday and its pretty good. I am reading of this sites' tutorial. Since I want to test my skills, I want to learn to make a simple ...
[1 reply] : #include <iostream.h> I didn't catch this the first time I read i... (by Danny Toledo)
Creating a GUI
 
Alright, I've literally spent every night for the last week trying to find a GUI library to use or trying to get one to work and nothing has come of it but a lo...
[6 replies] Last: Hmm, age and personal preference I suppose.... Sorry. :-S (by Duthomhas)
How to break out of loop?
 
The main function looks something like this while(blahalhha) { while(blahalhal) { if(blahlahlahla) { User.handleEvents(); Computer.hand...
[5 replies] Last: Never mind i got it without your help >:p (by nano511)
NEED HELP!arrays and pointer error
 
I'm trying to get this to return the minimum error:subscript array or pointer type int minimum(const int* values, size_t numValues) { int min = numValues...
[5 replies] Last: the for loop within your min function looks like this for(count = 0; ... (by quirkyusername)
by ty98
ms dos picters
 
Ok I have asked you guys befor about this but know i learned it. With Qbasic on my old ms dos computer IBM 5.0 it's so esy. LINE (1, 10)-(100, 10), 4 simply ...
[5 replies] Last: ok i got a dos computer to lern how to use dos for when my computer cr... (by ty98)
Need help with this program! Arrays and functions
 
Hi, so basically this program just takes an array of user input and sorts the numbers in ascending order, then it passes this array to a function that will disp...
[7 replies] Last: Omg, ok I am stupid. I figured it out. Thank you for all your help tho... (by ResidentBiscuit)
by ty98
arduino?
 
dose eny one now what a arduino is. If so then do you now how to use a serial? I won't to know how to make a computer tel a arduino to tern the led on and off?...
[7 replies] Last: very funny! (by ty98)
Variable subscripted array
 
Quick question, kinda. Can you make arrays without a set subscript. For example, let's say I wanna make a program that allows a user to enter all there employee...
[3 replies] Last: They're dynamic arrays, there isn't much more to it. Read the referenc... (by Athar)
Filling Arrays
 
How do I fill an array >_>? Here's the basic idea of what I'm trying to do... char name ; name = B; name = o; name = b; I just want to fil...
[3 replies] Last: Nevermind, found it. Thanks quirky! http://www.cplusplus.com/referenc... (by Shay9999)
Check this out- 2 Player Checkers Game
 
It has been 3 months that i started learning c++ . This is the game i developed for my semestorial project. It has two bugs at the moment which will be wo...
[2 replies] Last: i appreciate your corrections a lot..they are valuable to me :) thanks... (by ChanGeZi)
problems with constructor
 
Hello, me again :D. Here are my errors: 1>------ Build started: Project: SDL Projects, Configuration: Debug Win32 ------ 1> main.cpp 1>MSVCRTD.lib(c...
[2 replies] Last: Thanks that did it (by nano511)
Need help inserting item into array
 
Hello, I'm pretty new to C++ and I'm trying to write a function that will insert a new item into an initialized array at a user specified index. I want the othe...
[1 reply] : I'm confused... Take the following: #include <iostream> template <... (by closed account S6k9GNh0)
by gugun
Need help displaying a character every second
 
Hi guys, I'm new here and I am absolute beginner in c++. As you can imagine I am reading tutorials and stuff i find over the internet. Everything is ok i cove...
[2 replies] Last: Dear Moschops, thank you so much for the fast and absolutely helpful ... (by gugun)
Not sure what this compile error is, help please
 
Well, I'm working on making a sort of "Map" program, which will basically function as a grid. My plan was to use a MapSquare class to hold information on the sq...
[9 replies] Last: Good eye, LB. Sometimes I can't see the forest for the trees. This w... (by kooth)
Void Functions and Running Functions Simalteniously
 
Hi all, I was wondering how to make a predefined void function in C++. I can make int functions using this message and I've looked around for tutorials. It s...
[8 replies] Last: You need to link with it. It'll be one of your IDE settings. (by moorecm)
I just wondered
 
what is the different between Do/While and While? Because Do/While is Doing something while the condition is true. While is doing something while the condition ...
[5 replies] Last: Do-while can be used if you need to test condition for a variable that... (by bl4ckb3rry)
by tonnot
How to write a file in which I could add access to some methods of some classes ?
 
A very long title for my question ..... I have, in example, 10 multipurpose clases. I want to write a 'caller' to some methods of this 10 clases Is it possible...
[3 replies] Last: The only way for one class to have the methods of another in c++ is in... (by hamsterman)
Double Pointers
 
I've been trying to read pointers for the last few days and while it is quite tough to understand but after practising a few programes it became a bit clear.......
[3 replies] Last: Although these days we have so many libraries that pointers and double... (by writetonsharma)
July 2011 Pages: 1... 3031323334... 54
  Archived months: [jun2011] [aug2011]

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