Search Results

Showing results 1 to 40 of 87
Search took 0.01 seconds.
Search: Posts Made By: prushik
Forum: Window and Desktop Managers Mar 22nd, 2009
Replies: 10
Views: 2,175
Posted By prushik
Ok, I tried that. No difference.
Forum: Window and Desktop Managers Mar 21st, 2009
Replies: 10
Views: 2,175
Posted By prushik
I'll give it a shot. But shouldn't apt have done that automatically when I removed and reinstalled it?
Forum: Window and Desktop Managers Mar 21st, 2009
Replies: 10
Views: 2,175
Posted By prushik
I did try that, but ended up with an empty log file.

I resized my windows partition (Non-Destructively!!! Yay!) and made a new ext4 partition (is there a reason I shouldn't use ext4? My old system...
Forum: C++ Mar 21st, 2009
Replies: 38
Views: 3,266
Posted By prushik
Yes that's true. That's pretty much what I was trying to say. If it doesn't work its most likely because you need admin privileges.
Forum: C++ Mar 21st, 2009
Replies: 38
Views: 3,266
Posted By prushik
I have seen it not work on some machines. In high school i tried it on the school PCs and it wouldn't work (I messed with my friends in that class all the time). So if OminiX can't get that to work...
Forum: Getting Started and Choosing a Distro Mar 21st, 2009
Replies: 1
Views: 578
Posted By prushik
in the terminal:
"sudo dhclient" will DHCP for you.
"ifconfig" will display all of your network interfaces (and their IP addresses)
Forum: C++ Mar 20th, 2009
Replies: 38
Views: 3,266
Posted By prushik
try using system("shutdown -s -f -t 00");
Its not the best solution, but whether it works or not, it will be informative.
Forum: *nix Software Mar 20th, 2009
Replies: 7
Views: 1,148
Posted By prushik
I couldnt imagine permissions causing that issue, but the fact that they are all in the same folder makes me think that. Check the permissions on those folders.
Forum: Window and Desktop Managers Mar 20th, 2009
Replies: 10
Views: 2,175
Posted By prushik
My Xorg.0.log:


X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux...
Forum: Window and Desktop Managers Mar 20th, 2009
Replies: 10
Views: 2,175
Posted By prushik
I typed a big ol' response before I rebooted and I swear I hit post. But I guess I failed at that too. I'm really striking out today.
Anyways. I took a look at those files, xorg.conf looked fine and...
Forum: Window and Desktop Managers Mar 20th, 2009
Replies: 10
Views: 2,175
Posted By prushik
I'll switch to linux and take a look at those two files. I think I may incidentally have a few backups of my xorg.conf file, so it would be a treat if that were the issue (I may not have them). It...
Forum: Window and Desktop Managers Mar 20th, 2009
Replies: 10
Views: 2,175
Posted By prushik
I recently decided to take a chance and install some unstable upgrades (I love unstable things). So I upgraded many of my applications via apt-get. One of the big things I upgraded was libc6. I think...
Forum: Shell Scripting Mar 19th, 2009
Replies: 7
Views: 595
Posted By prushik
date is normally in /bin/ instead of /usr/bin/
Forum: Shell Scripting Mar 19th, 2009
Replies: 7
Views: 595
Posted By prushik
or you can give full paths in your script.
e.g.
/usr/bin/less instead of less

I'm sure you don't use less, but its an example

the best thing to do is set the environment variables in your...
Forum: Shell Scripting Mar 19th, 2009
Replies: 2
Views: 669
Posted By prushik
Oh yes. I am sorry. I forgot to mention that I did try that (sudo test) and the result was identical.
I found the solution by the way. However I am still puzzled.
It seems that == is accepted and...
Forum: Shell Scripting Mar 18th, 2009
Replies: 2
Views: 669
Posted By prushik
I wrote a shell script that checks the command line arguments for the "-i" flag.
I designed it to run from inside my gui application.
I tested my script from the terminal and it runs perfectly,...
Forum: C++ Jun 5th, 2008
Replies: 9
Views: 764
Posted By prushik
Ok, I found the problem. The problem was that my near clipping plane was too close to the viewer. gluPerspective(45,1,0.01,1) where before it was around 0.0001. I discovered this because I noticed...
Forum: C++ Jun 4th, 2008
Replies: 9
Views: 764
Posted By prushik
Well, my laptop is a couple of years old, and the other machines are more than a couple years old. So I'm sure the info you are drawing from is valid.
You are probably more informed than I am,...
Forum: C++ Jun 4th, 2008
Replies: 9
Views: 764
Posted By prushik
Ok, that explanation would make sense. I thought depth testing was all software though. The computer that it runs best on is my laptop, which just has what could be considered a "gaming" video card....
Forum: C++ Jun 4th, 2008
Replies: 9
Views: 764
Posted By prushik
All the machines are Windows XP. Although some are kind of older computers. Non-gaming/work computers. Thats why I'm thinking its a version issue.
Forum: C++ Jun 4th, 2008
Replies: 9
Views: 764
Posted By prushik
I'm not trying to distribute it. just test it. and i have actually compiled it from source on other machines, its the same problem.
Forum: C++ Jun 4th, 2008
Replies: 9
Views: 764
Posted By prushik
I have written a few games in C++ with OpenGL, and I am working on another one now, its my biggest project. Everything works really great on my computer, but whenever I move my executable to another...
Forum: C++ Apr 10th, 2008
Replies: 3
Views: 455
Posted By prushik
Ok, thank you very very much. That was what I needed to know. I don't like the nested for loops, but it will work.
Forum: C++ Apr 9th, 2008
Replies: 3
Views: 455
Posted By prushik
Basically I want to set up a 3-dimensional array, but I want to dynamically allocate memory for it.

Say I read 3 variables from a file, all ints:
f, s, and v.
i want to allocate memory for...
Forum: C++ Mar 1st, 2008
Replies: 7
Views: 736
Posted By prushik
you need an input statement inside your while loop.
Take the break statement out, it was an infinite loop because score can never = -999 because score never changes inside the loop.
Forum: C++ Feb 25th, 2008
Replies: 2
Views: 1,481
Posted By prushik
Win API

I'm sorry, I should have mentioned that.

Windows XP
Bloodshed Dev-C++
Forum: Game Development Feb 25th, 2008
Replies: 6
Views: 1,446
Posted By prushik
Do not listen to that advice. Java in my experience (BOTH programming and using programs developed in java) really bites. Speed is a huge issue with Java, I know people say its just as fast as...
Forum: C++ Feb 25th, 2008
Replies: 2
Views: 1,481
Posted By prushik
What is the easiest way to get a user input string (char array) from within an OpenGL program? It doesn't have to look good, this is just for debugging purposes.
Thanks.
Forum: C++ Feb 25th, 2008
Replies: 6
Views: 14,539
Posted By prushik
Oh, by the way, I know it was my suggestion, but I should tell you that it would be very bad programming practice.
Forum: C++ Feb 25th, 2008
Replies: 6
Views: 14,539
Posted By prushik
You could generate valid c++ code that does a few couts to display the text and then output that to a text file and use system() with a command line compiler to compile it into an exe.
Forum: C++ Feb 25th, 2008
Replies: 2
Views: 2,160
Posted By prushik
ok, here is my problem.

I am using sprintf to write a formatted string. That works fine.
it looks like this:
sprintf(buffer, "%f,%f,%i,%f,%f", user.x, user.y, user.dir, user.xspeed,...
Forum: C++ Feb 24th, 2008
Replies: 4
Views: 1,836
Posted By prushik
If you still want it to pause so you can see the output, use cin.get();
Forum: C++ Feb 24th, 2008
Replies: 4
Views: 1,836
Posted By prushik
Take out the system("PAUSE"); line at the end.
Forum: Game Development Feb 24th, 2008
Replies: 4
Views: 1,048
Posted By prushik
Very simple, 1 line solution.
Make a boolean variable called pause:

pause = !pause;
Forum: C++ Feb 24th, 2008
Replies: 2
Views: 504
Posted By prushik
WSAGetLastError() always returns 0. which is nothing.
Forum: C++ Feb 24th, 2008
Replies: 2
Views: 504
Posted By prushik
I am using bloodshed dev-c++ ide. Win XP Media Center Edition.
I am trying to learn how to use winsock, I have compiled a very simple (and very sloppy) little winsock application with the help of...
Forum: C Feb 23rd, 2008
Replies: 5
Views: 636
Posted By prushik
If you are using c and not c++, why dont you post in the c forum instead of the c++ one?
Forum: IT Professionals' Lounge Feb 22nd, 2008
Replies: 37
Views: 4,249
Posted By prushik
Forum: Game Development Feb 22nd, 2008
Replies: 17
Views: 9,806
Posted By prushik
If you are very good with C++ and you learn say OpenGL, it is not to ambitious to want to create a fps. The only thing that keeps me from making a fps is the fact that I can not draw people that...
Forum: C Feb 22nd, 2008
Replies: 5
Views: 636
Posted By prushik
line 16 should read:
students student_records;
Showing results 1 to 40 of 87

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC