General C++ Programming (Page 39)

by yj1214
Questions about SFML and OpenGL...
 
So I got into SFML and OpenGL!! and I have few questions. 1. Why do you not explicitly include Ope...
[1 reply] : 1. You don't use opengl code yourself, the library does the calls for ... (by poteto)
simulating a die roll (1,2)
 
#include<iostream> using namespace std; int roll(), rnum; void main() { int i; for (i = 1; i...
[26 replies] Last: Who in sane state of mind would teach global and function scope static... (by keskiverto)
StrStr with pointers
 
Please help me, I'm struggling to wrap my head around pointers and my teacher just gave us a large p...
[2 replies] Last: Thanks TarikNeaj for the videos. Those will be helpful. I just wrote ... (by Accelerator)
Can someone please tell em why this wont work.
 
#include<iostream> using namespace std; int roll(), addOdd(int odd), odd; static int num1...
[6 replies] Last: I edited my code above...hope that helps. (by yj1214)
c++
 
I was just wondering if there is a way to keep the numbers from displaying in the board when the pro...
[3 replies] Last: thanks alot and him rewriting my code wasn't giving me any answers I d... (by ArtisticMess)
CASINO GAME CONFUSION do while
 
HEY EVEYONE!I need some help with this code! It is a craps game and a casino menu the rules for ...
[no replies]
Dijkstras algorithim - show the shortest path problem
 
Hello... I have a problem with showing the shortest path, it calculated the correct distance, but I ...
[no replies]
by chacha
Project that bring Java to C++
 
Check out that project https://github.com/charb/jcpp I know some of you might have a heart attack, ...
[1 reply] : You should move this to the lounge section. (by TarikNeaj)
C++ Problem Help
 
Hi I need help fixing my program. The last void function is where the issue occurs. I want it to all...
[1 reply] : It's so hard to read, I suggest using code tags. http://www.cplusplus.... (by SamuelAdams)
Message passing in UML and C++
 
hi. I studied msg passing between objects but can anyone please show how it is really done in cod...
[8 replies] Last: Hehe, if I don't ask qs google won't redirect to nowhere or to places ... (by csstudent123)
Self declare class array
 
May I know after I create a class and object and array like this Book book how can I accept the i...
[10 replies] Last: void Book::setAuthor(string &aut){ for(int i=0;i<4;i++) ... (by Gamer2015)
declaring arrays inside main causes segmentation fault
 
I ran into an issue while working on a coding problem. My code was seg faulting and it started to wo...
[4 replies] Last: Thanks @JLBorges. That was very helpful (by funprogrammer)
multidimensional arrays
 
im trying to fill up a x array using for loops and to output rows and columns that count from 1 to...
[8 replies] Last: To get the column indexes, before printing the grid, output the indexe... (by Mats)
Meaning of double colons ::
 
Can someone please explain what the following code does, especially the last line that uses the "::"...
[1 reply] : This is a recursively defined template structure. The value field dep... (by doug4)
Programming Advice
 
How to cope up with the Frustration and falling in to the eternal confusion and mental stagnation of...
[4 replies] Last: thanks all..good advices to implement and test :) (by csstudent123)
What are the differences in a linux g++ compiler and a windows MINGW g++ compiler?
 
There are programs which use STL C++ and run perfectly on Windows MINGW g++ compiler but show Segmen...
[5 replies] Last: UTF-8 uses more than one byte for each character. The tolower function... (by Peter87)
Doubly Linked List split help!
 
I have to split a grocery list (nodes that takes 2 parameters, a string for the name of the item, an...
[15 replies] Last: sure, no problem! :) Could you please try the pointer-to-pointer versi... (by Gamer2015)
Urgently need answer
 
Am trying to write a program that will accept and store the data of patients treated in a hospital's...
[2 replies] Last: Uhm... an answer to what? Give us the code you are having problems wit... (by Gamer2015)
Vector of pointers doesn't work!
 
Hello! My program doesn't work, what is wrong with it? It crashes when calling a function. #in...
[1 reply] : Your pointers aren't initialized. std::vector makes a copy of those po... (by Gamer2015)
How to keep program running without exiting when wrong option is chosen?
 
I am creating a library management system. I have a few menus for which the user can select an optio...
[3 replies] Last: First of all. mainSelect = name ; name is a character, while mainS... (by TarikNeaj)
Pages: 1... 3738394041... 45
  Archived months: [mar2015]

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