Beginners - November 2013 (Page 76)

by domo
unstopable
 
Hi, I'm working with a code that I wrote for knight tour. After I resolved all the errors I tried to run the program, but it doesn't stop to show the result li...
[3 replies] Last: Well, it would help if the variable names even somewhat described what... (by Ispil)
How so I implement the mean1d function in order to find the mean?
 
#include <iostream> using namespace std; int main() { //I'll be making a 1 dimensional array int array1d ; array1d = 9; array1d = 8; array1d ...
[1 reply] : #include <iostream> using namespace std; const int SIZE = 25; doub... (by mobotus)
system("ANYTHING");
 
so i am working on a pretty basic text based RPG. and i made another post with my previous code. i have greatly revised it since then to actually use more then ...
[4 replies] Last: Thank you very much for the links Albatross! (by Antone333)
Recursive Call Crashing program
 
Description: I'm trying to write a recursive function that takes a null terminated char array, and then counts the number of characters in it and returns the l...
[2 replies] Last: Aw man, I was so close! I tried that code^^ exactly, but I was just mi... (by mrleakehe)
by JOzier
Delete Repeat
 
I almost got this code to work. I don't need it to output extra array information, only the sentence line. #include <iostream> void introduction(); ...
[2 replies] Last: Thank you so much Albatross I removed lines 40, 55, 56, 61, 62, 66, 67... (by JOzier)
invalid conversion from int to int and more errors
 
I wrote a code and I have some errors that I have no idea how to fix. Write a program that accepts input like the program in Display 7.8 and that outputs a barg...
[6 replies] Last: Oh, I got it. Thanks. (by cplusbeginner)
by JOzier
Array Text
 
I'm trying to get this code to only read from text file. And to output by counting of each number by stepping down the array and counting the values as you enco...
[2 replies] Last: Albatross you are right. I tried to delete some code but I kept gettin... (by JOzier)
classes and pointers
 
I was expecting that this program will show numbers from 17 to 1. It almost does that, but instead of some values it shows just random garbage numbers (the outp...
[2 replies] Last: To declare an array of a custom size, you need to dynamically create t... (by TwilightSpectre)
Error C26062 type 'int' unexpected
 
I'm having trouble with my first university project with the error stated above Here are the errors: Error C2064: term does not evaluate to a function taking 0...
[6 replies] Last: Thank you Chervil my program is working, (FOR NOW)! (by lukeyy33)
Windows UDP server for beginner
 
I am brand new to C++ and I would like to make a UDP Server and Client for Windows 7. I have found that all the examples for how to do a UDP Server and client r...
[3 replies] Last: I've downloaded the windows SDK. Now what? (by luketheduke)
by mjyz
Using Functions!!!
 
///
[no replies]
Problem with the Visual Studio
 
Please somebody help me I started learning C++ last week and I'm having problem with visual studio no matter what code I debug (even the "hello world" one), ...
[2 replies] Last: of course I've tried, deleted the whole project, then created a new on... (by waspzero)
by dAND3h
Custom Assignment Operator with raw pointer member
 
Hi, I have a question to do with the following code: #include <iostream> //#include <memory> class MyData { public: MyData(int num = 0) : myWord("...
[1 reply] : I'm guessing it has to do with the assignment of: data = da_data; etc... (by dAND3h)
Loan calculator
 
A bit stumped on how I would write this as code http://gyazo.com/ef1c7c6936c281b171c63e2de8530231 anyone have any ideas? its supposed to calculate the monthly...
[2 replies] Last: thanks (by hiimmike)
Help to create my first simple 2D c++ game
 
hi, i have been teaching myself c++ for about 6 months or so and i have come the the point where i would like to try and create a simple... very simple 2D game ...
[4 replies] Last: http://www.sfml-dev.org/resources.php (by giblit)
Reading a file
 
Hello, I have a question about C++. What should I do in order to read file which look like this? I'm having problem reading two words in a single string. Can s...
[4 replies] Last: Oh, thank you for your answer too, I think I'm going to stick with it ... (by Gerutis)
by JohnJH
Start from a certain line in a text file..
 
I have a .txt which contains some character and a lot of numbers.. I've made and array, which can contain all these numbers, but don't know how to start from th...
[13 replies] Last: Ahh.. yeah.. now it works. :) (by JohnJH)
by Gigas
Best Way to learn C++ 3d game programming and introduction.
 
Hello i am Gigas, i am a new member of this forum because it had caught my attention and i think it would be wonderful to talk to other programmers or have some...
[2 replies] Last: Like i said, i learn as i go and thank you very much for the books the... (by Gigas)
Arrays
 
I am attempting to implement functions in a .cpp file from a .h file any advice would be great thank you class Date { public: Date(); Date(unsig...
[3 replies] Last: Thank you both (by jayth222)
can anyone help me to do it? Thank!
 
Write a program that creates two rectangular shapes and then animates them. The two shapes should start on opposite ends of the screen and then move toward ea...
[no replies]
November 2013 Pages: 1... 7475767778... 80
  Archived months: [oct2013] [dec2013]

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