Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
35% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
1
2 Commented Posts
~9K People Reached
About Me

Im awesome, but a programming noob.

Favorite Tags
Member Avatar for vishnukumar

Good morning to all. I am Vishnu Kumar, MS (Software Engineering) graduate, fresher, 2012 passed out. And i am another one in your way with a dream to develop a game. I had gone through plenty of articles and topics (pinned in this forum too) but i find that, basic …

Member Avatar for NehaPande
0
364
Member Avatar for tayspen

This is an on going story, each post adds 3 words to continue the story (no more than three words). Try not to post two times in a row ;) ill start I like this...

Member Avatar for avishek12345
1
4K
Member Avatar for akasya

Hello Community, i have a text file... with example following content: Pizza 23232 Car 44,495 Drink 3493,90494 .... .. . and so on.. no i want to find the 44,495 in this textfile.. calculate a new value like 44,495 x 2 + 5 and write the same file as Pizza …

Member Avatar for Bumpehh
0
81
Member Avatar for Bumpehh

so i decided to try sfml, and i used the sample from the website to see if its working. heres the code //////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Window.hpp> //////////////////////////////////////////////////////////// /// Entry point of application /// /// \return Application exit code /// //////////////////////////////////////////////////////////// int main() { // Create the main window …

Member Avatar for m4ster_r0shi
0
152
Member Avatar for schutzk21

So I need to write a program where the user tries to guess a magic number. The only thing that I do not know how to do is set the max. amount of guesses to 5. This is what I have so far. Can someone please show me how to …

Member Avatar for np complete
0
410
Member Avatar for Bumpehh

this is a very simple RPS game and i ran into a prob. heres the code #include <iostream> // for cout/cin #include <cstdlib> // for rand/srand #include <ctime> // for time #include <cctype> // for case conversion using namespace std; char rps; char ai; char redo = 'Y'; // all …

Member Avatar for WaltP
0
109
Member Avatar for chris.vargas.773

I would like to know if this is a correct way to call and define a function for my program #include <iostream> #include <cmath> using namespace std; int math(double a, double b, double c); int main( ) { int math; char a,b,c; math = a + b + c; return …

Member Avatar for rubberman
0
157
Member Avatar for chris.vargas.773

so i made this program with a function call and definition and i keep having problems with the call function and i get error C2059: syntax error : 'return' when i build my program. #include <iostream> #include <cmath> #include <iomanip> using namespace std; int math (double cartons, double totalcost, double …

Member Avatar for chris.vargas.773
0
127
Member Avatar for Bumpehh

so i was bored and decided to make a dice simulator, and i ran into a error. heres the code #include <iostream> #include <ctime> #include <cstdlib> using namespace std; int total[12]; int dice1; int dice2; int aitotal[12]; int aidice1; int aidice2; void Roll(){ srand(time(0)); dice1 = 1+ (rand() %6); dice2 …

Member Avatar for Bob
0
159
Member Avatar for Bumpehh

So, i wanna try graphics, and i was wondering if sfml or sdl is better? I cant find any good tutorials on sfml and its kinda confusing. i havent used sdl so im asking your opinion. and also, **What did you start off with, and why?**

Member Avatar for Bumpehh
0
120
Member Avatar for Bumpehh

ive been searching the web for a 2d free game engine compatible with c++, and i cant find any! So i would like to know, if there is any that you guys know about? most people direct me to lib librarys, but thats not what i want. btw, sorry if …

Member Avatar for myk45
0
228
Member Avatar for Bumpehh

This is a very simple Rock Paper scissors game i made. i showed it to my cousin and he played it for like 20 mins lol. Its against an AI and you pick by number, not words.

Member Avatar for m4ster_r0shi
0
1K
Member Avatar for np complete

How can I make my program generate random number between two given integers ? I use `srand ( time(NULL) );` `x = rand() % i;` to generate numbers modulo i. But I can't figure out how to generate between two numbers, suppose 1 and 3.

Member Avatar for deceptikon
0
213
Member Avatar for coolikedat99

I was trying to create a program that would require the correct password to be put in in order for it to display something. I was able to make a program that would require the right password to display a certain thing. But the problem is that it can only …

Member Avatar for coolikedat99
0
164
Member Avatar for Bumpehh

Hey guys, im new to C++. been learning for only about a week. The most complex program i can make is a calculator! But, i was wondering, how hard would it be to make a text-based zork-like game? Like i said before im new, so any tips and/or tricks to …

Member Avatar for Bumpehh
0
711