Beginners - October 2012 (Page 26)

Creating files and opening previous files.
 
Need a little help here please. This is what I need to do on this assignment: Ask the user if this is a new or old (i.e. saved) pet. If it is a new p...
[19 replies] Last: Haha, its ok, you were helping, gave me new ideas to try. Thanks! Now... (by noylekul)
I have no clue how to correct my errors, can someone please help?
 
#include <iostream> using namespace std; float square.1 = 47; float square.2 = 42; float square.3 = 43; float square.4 = 49; { score.1 = sqrt (4 * 2.71 *(squ...
[1 reply] : Well you cant have a "." in the variable names. Apart from this what a... (by codewalker)
by skarla
SDL problem.
 
I am making a game and all goes perfect. The problem is my checkcollision function works good but only with (SDL_rect player; player.x=10; etc.....) W...
[1 reply] : How are you going to check collisions on images? Images usually don't ... (by Peter87)
by errol
Quick Question
 
First: I am using C++ in Unix. I have 2 header files (2 .h and 2 .cpp's) and then my main.cpp. I have a STUDENT.h , STUDENT.cpp , CLASS.h , and CLASS.cpp ....
[3 replies] Last: Ah! I figured I forgot something! Thank you! (by errol)
Help writing a for loop code
 
I am completely lost. I have to write a program using for loops and it must create the figure below: <<<<<< ############ >>>>>> <<<<< ##########** >>>...
[3 replies] Last: Thank you very much! (by Afarian)
by Ch1156
C++ file sharing libraries?
 
I want to create a very simple program that lets 2 people share files over the internet by just putting the file in a folder and it automatically syncs it to th...
[9 replies] Last: start by creating two simple programs 1) that listens on a port, accep... (by codewalker)
by skarla
SDL MENU.
 
#include <SDL.h> #include <SDL_ttf.h> SDL_Surface *screen=NULL; SDL_Surface *text=NULL; SDL_Event event; bool run=true; class instr...
[2 replies] Last: it works. Thanks you man. cAN ADD ME in skype for more help? (by skarla)
error C2106: '=' : left operand must be l-value
 
How do i fix that error on line 29 in bold letters? #include<iostream> #include<cmath> #include<fstream> using namespace std; int main() { ...
[4 replies] Last: We do not need. It is you who need.:) (by vlad from moscow)
Help with 2d arrays
 
Hi all, I was wondering how you would call a function that works with 1d arrays on a 2d array. For example: char word ; The 30 corresponds to th...
[7 replies] Last: A multidimensional array with n dimensions is an array of arrays of [n... (by vlad from moscow)
just started sdl, i seem to have to start a new project each time, to start a new page can i just
 
add all the linker settings in? or is there more fiddlin with dlls? the syntax is pretty complicated too, what was your techique for learning it, i can follow...
[2 replies] Last: yeah i could save all linkers to the global settings but what adress w... (by devonrevenge)
How to post a programme here
 
Hello! I'm new here and I have some questions about C++. But I don't know how to post programmes on this forum. If it helps,I have Borland C++ and as a compiler...
[2 replies] Last: If it is too large, pastebin works, or if you have it in multiple file... (by Zephilinox)
Followed Tutorial..Now what?
 
Hello everyone, thanks for any help or direction you can provide. I volunteer at a not for Profit Museum/Library locally in town. They realized they have thou...
[5 replies] Last: You are a god send good sir!!!!!! I can't thank you enough. and thanks... (by MMShaggy)
Void Function
 
include <iostream> #include <cmath> using namespace std; void fun(float); int main () { float a,b,x; int ok; do { ...
[2 replies] Last: Thanks a lot, trying to learn on my own and it's rather confusing. Ag... (by DontSeeMinusMinus)
Multi-Dimensional Arrays
 
Hi, Suppose there is an array: b . The address b is 100 and int values are 4 bytes each. First question, how would you create an access function for ...
[6 replies] Last: If I have correctly understood you the "access function" for b (whe... (by vlad from moscow)
by sinnex
Code doesent work
 
hi again, since i got such a nice and fast answer yesterday i want to ask you again about a new program i wrote. its task is simply to put out all prime numb...
[4 replies] Last: @ ne555, whitenite1 ah, of course!! thanks to both for your fast repl... (by sinnex)
Probabilistic Algorithm
 
Hi guys anyone with any idea of how to get detailed materials on probabilistic algorithm
[1 reply] : Google for ebooks on algorithm there should be many out there (by BridgesBenghazi)
no match for call to '(std::istream) (std::string&)'
 
This is part of a calculator program, whenever I try to compile it I get the following error message: no match for call to '(std::istream) (std::string&)' H...
[2 replies] Last: Thanks, yep sorted now! (by PieDude137)
I ACTUALLY SUCCESSFULY INSTALLED AN API!! Open gl...what is it exactly?
 
so i can make shapes COOL!can i get sound? can i upload sprites to wrap around? i had no plans other than learning so it makes sense to produce basic games for ...
[6 replies] Last: kay i fixed it...for posterity any one with the same problem needs to ... (by devonrevenge)
doesn't compile this program
 
hi, I wrote this program.What's the problem of this program?It doesn't compile me.I think It hasn't got any problem inside. Tanx #include <iostream> using n...
[9 replies] Last: It fixed .problem was from here: if (M.S1==N.S2) to if (M.s1==N.s2) (by alirah84)
how I create win32 project in vs2010
 
in vc6.0 I choose create windows application, it has default code like winmain function, and parameter, but when I create win32 in vs2010, if I choose win32 con...
[1 reply] : Console application doesn't have windows, a win32 project will guide y... (by codewalker)
October 2012 Pages: 1... 2425262728... 84
  Archived months: [sep2012] [nov2012]

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