Beginners - August 2013 (Page 29)

OOP and Arrays
 
SO today I have started with Arrays. I have gotten this far with my code( Yes its random code but just practicing :> ) I now still need to do the following whi...
[4 replies] Last: @coder777: No actually implementing it in the implementation file, if ... (by Xistenial)
Convert sound to code
 
I want to create a program that listen to a sound, and if its a certain sound, do something. What would I need to create such a program? Any special equipment,...
[9 replies] Last: Do you know about FFTs already? Or are learning about them for this pr... (by andywestken)
Help with functions
 
having issues with learning functions. visual studios keeps saying lines 51-61 have an error with the variable in (). I don't get why it's wrong. Please Help...
[2 replies] Last: Code continuation //*************************************************... (by jsnookiii)
Missing dll
 
When running/debugging a C++ project in Visual Studio 2012 (Right click->Debug->Start new instance) a system error occurs because it seems that 'd3dx9d.dll' is ...
[no replies]
when is it ok to use goto?
 
While working on my chess program i wrote a printBoard() function where i really cant imagine any more efficient way to write this function than using a goto. ...
[13 replies] Last: When I did chess I had two arrays, the pieces and the board. Having ... (by Lowest0ne)
Class Composition
 
So I was experimenting with class composition on Code::Blocks, and for some reason when I compile this code I get "Lenny the Cowboy was born on 12093123/1203812...
[2 replies] Last: Thanks! (by Group of Eight)
Need help with Arithmetic
 
hello, i am new to c++ and need help with an arithmetic problem. i have have tried many ways of rearranging it but still come up with the wrong answer.can someo...
[2 replies] Last: Thx for the advice i will have a go at it now. thanks again (by eizan1892)
Operator Overload program from Herb Schildt c++ Beginner's Guide
 
Hi.I've been studying Herb Schildt's c++ Beginner's Guide and have read a few(many) comments regarding errors and wrong practices.I'm currently on chapter 9,Ope...
[18 replies] Last: @reprovo In fact I even can not call any good book on C++ for beg... (by vlad from moscow)
random line from file
 
Hello all, Intro I'm trying to read in a file and randomly grab a line. The file "Spiral_Periods_5.dat" has 6 columns and millions of lines and the...
[1 reply] : > I just can't seem to calculate the correct multiples in line 21 for ... (by JLBorges)
Using Switch or If Else Structure
 
If the user input 1 to 999. The output is in number in words. for example Number:45 NUmber in Words:FortyFive Can you help me about the code for this...
[3 replies] Last: You're welcome! (by condor)
by leo255
Attack Game: Need some help with my Armor function and User Interface
 
Hello, I added a few more things to my crude game. I wanted to add an Armor element, where the total of the damage of "strength" and the character's "unique ...
[3 replies] Last: This is not relating to your questions, but on multiple lines you've i... (by xismn)
by err
??help to delete a project from my computer ??
 
this is a really stupid question but is bothering me ALOT i would be very thankful if you can answer my question I used Visual c++ to make the basic "hello wor...
[5 replies] Last: GOOD NEWS !! problem solved! (by err)
by Ch1156
header file question
 
Ok so i have a header file and i have this function in it: #ifndef UNTIL_H_INCLUDED #define UNTIL_H_INCLUDED void until(int from, int until) { f...
[12 replies] Last: @Ch1156 If I have understood you mean the following function voi... (by vlad from moscow)
Garbage Collection
 
I've taken Java classes in school, and I know that it has a built in garbage collector, but I have been teaching myself about C++, and I don't have a clue about...
[2 replies] Last: In C++, the best ways to avoid memory leaks are: 1) Don't use new un... (by Disch)
Printing text on paper
 
Good evening to all. I would like to know if there are instructions in C/C++ to print the text on paper (such as print the list of a class). Thanks
[2 replies] Last: School class. Not a type we use everytime. Thanks. I understand... (by Gadamatik)
There is an error with my function parameters (handling string)
 
HI! This is my code : string onetwo (string input) { return "hi" ; } int main () { string input ; cin >> input ; cout << onetwo (input + in...
[4 replies] Last: You can do what you want the following way provided that your compiler... (by vlad from moscow)
Chapter 4 Practice Problem 4 Multiple user and passwords
 
Hello, I am writing here because I am stomped by an exercise problem I am doing in one of my c++ books from school. The problem states to create multiple user n...
[14 replies] Last: That's wise. Good job (by MrTrollFace)
Hello world start program trouble
 
Hi all! I having some trouble with starting my first console program. Enyone know what can be? http://www.fotolink.su/v.php?id=0b9ea31967e402a7526cbd44d1683b...
[10 replies] Last: Just use a better compiler (BUT PLEASE DON'T ATTACK ME WITH YOUR POS... (by MrTrollFace)
I can't seem to understand what the error code is
 
Hello all! C++ noob here! I took part 1 of C++ back in 2006, and I'm suffering from CRS(Can't remember shit). I passed the class with C, average, I guess a g...
[6 replies] Last: Disch: I left the code how I had it, and placed the single quotes, bef... (by romillan)
Debug asertion failed
 
This is a small experiment, it prints until pos is 508 on windows visual c++. and then apears the error Debug asertion failed File: fseek.c Line: 149 ...
[6 replies] Last: What if i write those lines in text mode and after i read/write to ar... (by anndreww)
August 2013 Pages: 1... 2728293031... 51
  Archived months: [jul2013] [sep2013]

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