So I have made a menu and a guy helped me, We have used enum in the menu is there anyother way i can do it, cause my teacher is not allowing me to use classes, files and arrays, please help, if u guys have anything simple and better i need it urgently.. here is the code:- enum MenuState{MenuPlay,MenuHelp,MenuExit}; // the idea of using enum is that instead of using an int to represent a set of values, a type with a restricted set of values in used instead. MenuState ms=MenuPlay;cout<<" *-=MOD=-* v1.0\n\n\n\n\n"; char ch=0;//or anything other than '\r' while …

Member Avatar
Member Avatar
-1 forum 1

Hello, I am making a 2d shooter game, and I dont knnow how to make the player's ship move left and right with left and right arrow keys... please help me. I have to finish this project before 6th... please help

Member Avatar
Member Avatar
+0 forum 7

I am pleased to report that DaniWeb, based about half an hour outside Manhattan in Uniondale, Long Island, New York has survived Hurricane Sandy. There were no downtimes or outages, and all staff are OK. Not everyone in the tech space has been so lucky it would seem. ![sandymap](/attachments/small/0/sandymap.jpg "align-right") Four big online names have suffered outages after Datagram, a web hosting and data center outfit based in Manhattan, lost power. Buzzfeed, Gawker, Gizmodo and The Huffington Post were amongst the sites impacted by the power loss after Datagram experienced flooding to the basement of its building last night. Intermap, …

Member Avatar
Member Avatar
+3 forum 2

this is my while code and i use DEV-c++ compiler and i want to make it as a function and i dont know how ??? and realy want it as soon as possiple because the dead line is tomorrow ------------------------------------------------------------------------------ [CODE]#include <iostream> #include <math.h> using namespace std; int binTodec (int num1,int num2); int main () { int num1,num2,i=0,j=0,sum1=0,sum2=0; cout<<"enter two binary numbers :"; cin>>num1>>num2; while (num1/10.0!=0 || num2/10.0!=0){ sum1=sum1+(num1%2)*((int)ceil(pow(2,i))); i++; num1=num1/10; sum2=sum2+(num2%2)*((int)ceil(pow(2,j))); j++; num2=num2/10; } cout<<"converted to binary is : "<<sum1<<" "<<sum2<<endl; system ("pause"); return 0; }[/CODE] ----------------------------------------------------------------------------------- also I will let you see my function code trasformation to tell …

Member Avatar
Member Avatar
-1 forum 1

I just read an article that said NYS is planning to issue Emergency Alerts on the XBOX Live. So will this type of interrutption cause you to stay away from that video game? Or will it increase your chances of playing online games? [url]http://www.joystiq.com/2009/11/24/new-york-state-will-issue-emergency-alerts-via-xbox-live/[/url]

Member Avatar
Member Avatar
+0 forum 11

The End.