Member Avatar
... I have the code above and i get the error that ... may only be used in a switch statement, and with ... the same error. Am i missing some braces?
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
I don't know how to programm but i wana that u help me
by MWAMBA in Game 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
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 >>> time24hr('12:34am') '0034hr' >>> time24hr('12:15pm') '1215hr' so i wrote the following: 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] + 'hr' elif …
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 ... . 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 Helpful Tips Useful Resources These may be slightly more advanced than 'beginner' MSDN resources: …
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 ... 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 138 ... …
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 ()
Member Avatar
After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. Maybe an image viewer, a slide show, computer generated random or fractal art, a …
by vegaseat 1,720 in Software Development ()
Member Avatar
Any good beginner books on python? I want to learn python easy and fast.I have coded some basic programs in c,c++,Java. Wanna learn python for scripting in linux.
by getanshub4u in Software Development ()
Member Avatar
Hello guys, I wonder if I could get some help with a project I'm planning to start. As you all probably know, I'm learning MVC and I've followed dozen of online tutorials, dipped in and out of many books but I got to the conclusion that I have to dive …
by Violet_82 35 in Web Development ()