Member Avatar
when the console displays the "StudentAns" I get weird characters instead of the actual answer. ///////////////////////////////////////////////////////////// this is the files CorrectAnswers.txt A D B C A A D B D C A D B A C C D B C A StudentAnswers.txt A D B C A A D B …
by luis.baez.9216 in Game Development ()
Member Avatar
I currently have a problem where the program when it is running will also choose one word and one letter in the word file. For example, in the word file the program only chooses the 2nd word "Dependent" The only letter that is considered correct is "d" My code is …
by Daniel_59 in Game Development ()
Member Avatar
on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little …
by יוחאי in Game Development ()
Member Avatar
I don't know how to programm but i wana that u help me
by MWAMBA in Game Development ()
Member Avatar
void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …
by Marius_3 in Game Development ()
Member Avatar
void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …
by Marius_3 in Game Development ()
Member Avatar
How do I modify minhook in order to be able to hook undocumented functions? I'm a beginner and this is beyond me.
by Werwerwerw in Software Development ()
Member Avatar
Hi, I am currently in UNI studying Media (Video, Music, Design and also Web Development). As its summer I would love to have a side project. I've been meaning to learn how to create a text based RPG game, I am curious what skills I would need to make a …
by Dylan_6 in Game Development ()
Member Avatar
I'm Python beginner. I'm trying to write a loop over a class and compare different results. Results are produced in a method called job. Then in each loop I want to run this method of the class. The last line of the code does not work. What is the possible …
by hjos in Software Development ()
Member Avatar
//thanks to GameAlchemist function createCountDown(timeRemaining) { var startTime = Date.now(); return function() { return timeRemaining - ( Date.now() - startTime ); } } var currentCountDown = createCountDown(30000); // Draw everything var render = function () { var countDownValue = currentCountDown(); returnKillsNeeded(stageNum); ctx.drawImage(startGameImg, 0,0); ctx.font = "24px Helvetica"; ctx.textAlign = 'center' …
by ardywijaya1997 -2 in Game Development ()
Member Avatar
I am a beginner in computer programming and need help with this problem: Create a script that prompts the user to provide the number of pennies, nickels, dimes, and quarters. Display back the value of the coins in dollars and cents. Here is my code so far, everything is good …
by grand_78 in Programming ()
Member Avatar
I want to know more about Bittorrent . Like , how it works . I'm not looking for an overview as i have a little knowledge about it . I want a deeper and a technical insight to it . Maybe if I could somehow get hold of the code …
by vishalsingh1080 in Software Development ()
Member Avatar
Hello! I have to print patterns using '*' and I am at a loss how to get these patterns printed! I figured out the first one, * ** *** **** ***** ****** ******* ******** ********* ********** and now i have to do it upside down: ********** ********* ******** ******* ****** …
by letters1417 in Software Development ()
Member Avatar
I'm developing a game that has a word falling to the bottom of the screen and the user typing that word before it hits the bottom. So you'll be able to type input while the word is falling. Right now I have a timer that waits 5 seconds, prints the …
by Mike_29 in Game Development ()
Member Avatar
it says the following: Write a function that converts the time to 24hr format. Examples [CODE] >>> time24hr('12:34am') '0034hr' >>> time24hr('12:15pm') '1215hr' [/CODE] so i wrote the following: [CODE] def time24hr(tstr): a = tstr.split(':') am = {'12':'00','1':'01','2':'02','3':'03','4':'04','5':'05','6':'06', '7':'07','8':'08','9':'09','10':'10','11':'11'} pm = {'12':'12','1':'13','2':'14','3':'15','4':'16','5':'17','6':'18', '7':'19','8':'20','9':'21','10':'22','11':'23'} if 'am' in tstr: return am[a[0]] + a[1][:2] …
by pwolf 14 in Software Development ()
Member Avatar
I'm very new to the Raycasting algorithim, and was reading a webpage on how it works with CPP code to accompany. I followed what the page described and converted it into Python/Pygame and then ran it, but my result was *very* different. I have a feeling it has something to …
by sam.tubb.75 in Game Development ()
Member Avatar
Hey, still a beginner in Python. I was wondering if anybody could help me out with all this info. Im planning to make an actual game, but first i have to get classes/methods etc. I thought maybe this would be some good classes: Trainer, Pokemon, Moves, Stats, Type, Pokeball, Pokedex …
by Ali_56 in Game Development ()
Member Avatar
I was wondering what you all thought on web development platforms that enable users with no programming knowledge to create websites for example http://www.wix.com . I personally think that a web developer should want to know how all the components work and build websites from scratch component to component. But …
by Kevin_1 in Web Development ()
Member Avatar
I'm a beginner in C++. I saw \b and \r in a program source code. I've seen \n and I know its purpose. But why do we use \r and \b in C++? Please clear my doubt. Thank You.
by paruse -5 in Software Development ()
Member Avatar
Hi there, As an excerise I am trying to create a basic PHP blog. Creating the user login system was pretty straightforward, and I've 2 mySQL tables, one with user information, and one with the blog information (and with a foreign key referencing the user id). However, I'm stuck for …
by James_43 15 in Web Development ()
Member Avatar
I am a beginner programmer and have been learning about how to use Java since February 2015 of this year. However, I just started learning how to write code in the Python Language, a few weeks ago and find it to be much easier to work with. My goal here …
by Philip_5 in Software Development ()
Member Avatar
There has been a noticeable increase in people asking where to start C# recently. So I have been across a couple of forums and pulled together a list of some useful links and resources. # Web Tutorials # [Home and Learn Tutorial](http://www.homeandlearn.co.uk/csharp/csharp.html) [CodeProject Tutorial P1](http://www.codeproject.com/Articles/219869/Object-Oriented-Programming-in-Csharp-NET) [CodeProject Tutorial P2](http://www.codeproject.com/Articles/222295/Object-Oriented-Programming-in-Csharp-NET-Part-2) [CodeProject Tutorial …
by Mike Askew 131 in Software Development ()
Member Avatar
hi.i realy need help am a new beginner in java.so i have been trying to do a code in java that returns the largest counter,refering to my libraries.so i was trying to invoke the method comparTo,so i dont know how to use it to compare all counter arrays so that …
by Vinolia in Software Development ()
Member Avatar
I created a 2D array and filled it with random values from 0 to 100 and now i'm trying to find the average and maximum number of all the value inside it. But i'm having serious problems understanding the problem with my functions and how to connect them in the …
by mimic03 in Software Development ()
Member Avatar
Hi Guys I am beginner in PHP i am getting Warning: mysql_fetch_array(): Eror... anybody help me Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home4/kksivash/public_html/drngpit/student-portal/admin/model.php on line 76 function get_deptbyID($id=""){ $sql = "SELECT * FROM department where id = ".$id; $result = mysql_query($sql); $row = mysql_fetch_array($result); …
by SivaShankar in Web Development ()
Member Avatar
**I want a C++ program that when build up in TURBO C++ then it will produce an output, which shows file system on my computer being used. I am beginner and dont know how to write this program. please help me. Thanks**
by Kashif_3 in Software Development ()
Member Avatar
Hello Everyone, can you please help me? Now,I am learn SMO and I am SMO Beginner. I have a confusion about banner post on social media my question is that **how much maximum post the banner everyday on social media for ecommerce website?** Please Everyone guide me and reply me …
by vedwebservices in Digital Marketing ()
Member Avatar
Good day, I am a PHP beginner, but have managed to set up a shopping cart on my jewelry website (with the help of video tutorials found online). Everything is working well, but I need to add a text box to my product page where people can add the engraving …
by Susan_4 in Web Development ()
Member Avatar
I am beginner in android programming, I am making a music app the problem I am facing with my app is when my app is minimized and I try to resume the app from the launch icon, splash screen appears for the specified time but after that the android home …
by Karan_8 in Mobile Development ()
Member Avatar
I am beginner in C++. Please someone support me. Help me in learning C or C++ Java compiler. I am just a beginer. have just installed Cygwin & MinGW in my computer. Please someone guide me in learning programing language.
by Sherab_1 in Software Development ()