Beginners (Page 4)

why does this happen with const pointer to int?
I wrote the following two codes. but one is giving erro #include <iostream> using namespace s...
[3 replies] Last: can you tell me where can anybody use this int * const?? Any time y... (by AbstractionAnon)
C++ Error: SDL_JoyStick has not been declared
I am using SDL 2 and I am trying to write a void function that accepts an argument of SDL_Joystick. ...
[1 reply] : You need to spell SDL_Joy s tick with a lowercase s. (by Peter87)
by ebii
reading integer from file
how can i put all integers that i read from files into array seems i have a bit trouble here it alwy...
[4 replies] Last: thanks alot man helpd alot (by ebii)
Bulls and Cows
Hola, im following a tutorial on how to make the bulls and cows game, its my first time using classe...
[3 replies] Last: You don't set MyMaxTries or MyCurrentTry ... despite your obvious inte... (by lastchance)
Pointer of object within object itself
Is it possible to store to pointer of an object within the object itself? struct vertex{ co...
[10 replies] Last: Usually the address-of a particular object is written using the built-... (by mbozzi)
Trouble with some Loop Examples
I have some questions in regards to the loop examples, and it's two of them. The first one is using ...
[11 replies] Last: Cool, got it. Thanks for the help! :) Will mark as resolved. (by Bayan Khorshidi)
Reading from a binary file I've just written to
Hello, I've just begun learning about binary files, and I'm having trouble reading what I've jus...
[6 replies] Last: Thank you for the explanation and all of your help! (by stephanos)
Assignment clarification
So I'm working on an assignment for my Intro to C++ and as a disclaimer, I'm asking that you do not ...
[5 replies] Last: Thanks again guys. Should be easy enough :) (by portpabs)
Win sock
Hello everyone, I have a question. If I was to make a server in c++. Would it be a good idea to u...
[2 replies] Last: I am not sure if visual studio specifically wants you to use a differe... (by jonnin)
How can I choose where in a file I write?
Hello, I would like to write to a file using fstream, but I would like to know how I can write to...
[3 replies] Last: Jonnin is correct; however, I'd like to ask you what are you trying to... (by koothkeeper)
Tic Tac Toe Program
This is a tic tac toe program that has computer to act like a player 2 and it needs to have srand an...
[5 replies] Last: @dheydan THnak you so much for your help! I would never have beeen abl... (by suna6382)
smart menu (1,2,3)
Hello ! I have made a smart menu that does the following: 1) allows to add a function with a name ti...
[54 replies] Last: Well in theory it does but the function is a member function and it is... (by globaltourist)
Setters and Getters in C++
I still can't seem to grasp the whole setters and getters in C++ This is the assignment: In thi...
[8 replies] Last: ah.. rather than char* str it is better to have char* str a... (by Flaze07)
by ebii
compiler jumping
when i run this code. output going bit crazy output: enter name: aa eneter account :111 enetner...
[3 replies] Last: guys youre awsome thank you very much for your kind help . (by ebii)
by Kuluoz
Change CAPS/SMALL in buffer data
Hi friendz, Que 1: I was read buffer.and i was check string using strncmp. Is any possible to c...
[7 replies] Last: @kuluoz Your testing code doesn't really make sense - I put indices o... (by lastchance)
by TheArk
Menu program with functions
any idea why the compiler says that my const ints are not declared in my code? Or any suggestions on...
[6 replies] Last: Hello TheArk, Just an observation here. Looking at your program you a... (by Handy Andy)
by Tobruk
Unexpected request for user input while executing cin.ignore()
I was debugging my code because a strange, out-of-place request for input was showing up, before my ...
[3 replies] Last: I'd start by rearranging your loop to use a while() loop instead of th... (by jlb)
checkBoard function
So I am working I'm trying to get enforce the rules of Sudoku in my code. I was wondering if I could...
[15 replies] Last: yeah we haven't gone over bit maps at all, so is there another way I c... (by alextexasfan12)
by ebii
im having a diffcult time to understand this copmosition for some reason be happy if someone can dir...
[6 replies] Last: thanks alot kesk but i mange to understand what was wrong without usi... (by ebii)
connect to SQL Anywhere 17
I've been successfully using SQLAPI++ to connect and execute SQL statements against Oracle ...
[no replies]
Pages: 123456... 24
  Archived months: [may2017]

Cannot post in this page. To post a new message, go to the first page.