Forum: C++
Aug 19th, 2008, 3:30 PM
|
|
Replies: 4
Views: 178
Re: C++ OpenGL .obj Loader problem
void drawVertexAtIndex(unsigned index)
{
vector3f vertexToDraw;
vertexToDraw[0] = vertices[index][0];
vertexToDraw[1] = vertices[index][1];
// ahem? should be vertexToDraw[2] =...
|
Forum: Coder's Corner Lounge
Jul 17th, 2008, 8:29 PM
|
|
Replies: 14
Views: 431
|
Forum: Coder's Corner Lounge
Jul 17th, 2008, 3:40 AM
|
|
Replies: 14
Views: 431
|
Forum: Coder's Corner Lounge
Jul 16th, 2008, 5:58 PM
|
|
Replies: 14
Views: 431
|
Forum: C
Jul 12th, 2008, 12:44 PM
|
|
Replies: 3
Views: 173
|
Forum: Software Design and Algorithms
Jul 2nd, 2008, 6:41 PM
|
|
Replies: 3
Views: 185
Re: subtitle program
probably the best starting point is to look at the existing subtitle formats out there such as sub viewer and sub rip, and see how they work. google should have everything you need.
|
Forum: C++
Jun 22nd, 2008, 11:15 AM
|
|
Replies: 10
Views: 409
Re: c++ header standards
No. Malloc and new are different, and both have their place in C++, there are a number of differnces between the two.
new is an operator, that constructs an object and is type safe.
malloc is a...
|
Forum: C
Jun 22nd, 2008, 10:36 AM
|
|
Replies: 10
Views: 504
|
Forum: C++
Jun 20th, 2008, 5:08 PM
|
|
Replies: 4
Views: 206
Re: timed functions
not for accuracy < 1 second.
Look up gettimeofday() for linux, and GetSystemTimeAsFileTime for windows. They should have what you are after.
|
Forum: C++
Jun 18th, 2008, 7:20 PM
|
|
Replies: 4
Views: 314
|
Forum: C++
Jun 18th, 2008, 6:49 PM
|
|
Replies: 3
Views: 252
Re: Making IDE?
Scintilla is a popular Source code editing component, which is used in notepad++, my favorite text editor currently. Sounds like what you are after. http://www.scintilla.org/
wxWidgets have some...
|
Forum: Paid Job Offers
Jun 18th, 2008, 6:28 PM
|
|
Replies: 10
Views: 572
|
Forum: C++
Jun 16th, 2008, 4:27 PM
|
|
Replies: 9
Views: 390
Re: Starting C++ GUI Programming
I'll step in and third this shout out for wxWidgets.
Its an easy API to get to grips with. I found the community support very good. http://wxcode.sourceforge.net/ Is a great resource for 3rd party...
|
Forum: Coder's Corner Lounge
May 16th, 2008, 3:38 PM
|
|
Replies: 18
Views: 616
|
Forum: Coder's Corner Lounge
May 16th, 2008, 3:26 PM
|
|
Replies: 2
Views: 223
Re: MARIE a sample computer ARCH
This is not a C++ problem and really does not belong here.
I'm not familiar with Marie Architecture but at a quick glance it seems to have a good, simple instruction set architecture for beginners...
|
Forum: C++
Apr 30th, 2008, 4:22 PM
|
|
Replies: 2
Views: 172
Re: Cannot Function C++ Linked List
If the list is to be common among all player objects then try using a static data member.
class Player
{
public:
player(int pid, string pName);
int id;
string name;
|
Forum: C++
Apr 24th, 2008, 5:20 PM
|
|
Replies: 8
Views: 409
Re: Visual C++?
Be aware that dev-c++ and visual c++ are integrated development environments, not compilers. dev c++ uses GCC as its compiler, visual c++ uses msvc. Other IDE's may support multiple compilers such...
|
Forum: Software Design and Algorithms
Mar 28th, 2008, 4:36 PM
|
|
Replies: 7
Views: 309
|
Forum: Bash / Shell Scripting
Mar 24th, 2008, 8:00 PM
|
|
Replies: 13
Views: 622
Re: Spaces in path names
a shot in the dark but change jessehks:
$ HDA1="/mnt/hda1/Documents and Settings"
$ cd $HDA1
to:
|
Forum: PHP
Mar 24th, 2008, 7:46 AM
|
|
Replies: 7
Views: 311
Re: MySQL - Basic Combining Of Queries
Theres no reason why you need multiple queries. if you want every name for user_id1 and user_id2, just add that condition clause to the join. If you are concerned of duplicate name entries in the...
|
Forum: PHP
Mar 23rd, 2008, 8:28 PM
|
|
Replies: 7
Views: 311
Re: MySQL - Basic Combining Of Queries
not sure I 100% follow what you mean but why not just use an OR statement ?
SELECT name FROM $table_user WHERE user_id=$user_id1 OR user_id=$user_id2
Ideally, if you are constructing a set of...
|
Forum: C++
Mar 19th, 2008, 4:50 PM
|
|
Replies: 6
Views: 240
|
Forum: C
Mar 19th, 2008, 4:23 PM
|
|
Replies: 18
Views: 450
Re: How Do I Urlencode A String In C?
I don't think there is an equivalent in the C standard library. There are a few implementations about online. But you're prob best writing your own, its not too difficult.
|
Forum: Coder's Corner Lounge
Mar 19th, 2008, 2:18 PM
|
|
Replies: 8
Views: 261
|
Forum: Coder's Corner Lounge
Mar 18th, 2008, 2:19 PM
|
|
Replies: 27
Views: 1,063
|
Forum: C++
Mar 8th, 2008, 7:33 AM
|
|
Replies: 17
Views: 652
Re: Console Game Development
check out the <windows.h> header. It pretty much has all you need. Check the MSDN for console reference . http://msdn2.microsoft.com/en-us/library/ms682087(VS.85).aspx
|
Forum: Java
Mar 7th, 2008, 2:48 PM
|
|
Replies: 5
Views: 316
Re: Need help in JAVA
So not just content with plaigerising the code, you also want someone else to alter the source for it to match the specifications of your assignment ?
good luck with that.
|
Forum: Coder's Corner Lounge
Mar 7th, 2008, 2:39 PM
|
|
Replies: 16
Views: 469
Re: During long builds...
I either "Test" game builds or I'll go and make a cup of tea and have a bit of a gossip with the other work folk.
|
Forum: Coder's Corner Lounge
Mar 7th, 2008, 2:33 PM
|
|
Replies: 14
Views: 436
Re: IDE for Programming
I second that notion on netbeans.
I use visual studio as an IDE but with GCC integrated into it.
|
Forum: C
Mar 2nd, 2008, 4:04 PM
|
|
Replies: 9
Views: 496
Re: I need help in writting pseudocode
Don't mean to be pedantic, but thats not 100% true. The C99 standard allows variable length arrays. That is, an array of automatic storage duration whose length is determined at run time.
For...
|
Forum: C++
Feb 23rd, 2008, 4:04 AM
|
|
Replies: 6
Views: 222
Re: Shared Objects in Linux
For the record... I wasn't saying it was a good idea. I was just making it known that library editting is possible using the ar, which should be part of the gnu toolchain. :)
|
Forum: C++
Feb 23rd, 2008, 3:53 AM
|
|
Replies: 6
Views: 242
|
Forum: C++
Feb 22nd, 2008, 2:58 PM
|
|
Replies: 6
Views: 222
Re: Shared Objects in Linux
If the shared objects in SPEException, lSPEThread, lThread, lpthread, spe2 libraries should all belong together then use the gnu program ar to merge em all together into one static library.
|
Forum: C
Feb 14th, 2008, 2:55 PM
|
|
Replies: 10
Views: 592
Re: Bitmaps in C
Pretty much provides all the information you need to read a bmp image. Probably less than an hours work if you only want limited functionailty.
|
Forum: C++
Feb 2nd, 2008, 5:44 AM
|
|
Replies: 17
Views: 655
Re: Game Programming
I'd recommend using the XNA framework for developing games on win32. It would make the porting of your developed game to 360 quite trivial.
|
Forum: Other Programming Languages
Jan 12th, 2008, 10:33 AM
|
|
Replies: 15
Views: 710
Re: RTF Codes
A more up to date RTF specification available here. linky dink: http://www.wotsit.org/download.asp?f=rtf18&sc=253448238
Taken a quick look, seems to describe the format well with a sample RTF reader...
|
Forum: Coder's Corner Lounge
Oct 11th, 2007, 6:34 PM
|
|
Replies: 12
Views: 340
http://www.jahshaka.org/
Free, open source,...
http://www.jahshaka.org/
Free, open source, cross platform, Realtime editting and effects system.
Not had a chance to give it a whirl yet. while its no sony vegas/digital fusion it looks pretty...
|
Forum: Coder's Corner Lounge
Oct 11th, 2007, 6:17 PM
|
|
Replies: 10
Views: 258
|
Forum: Coder's Corner Lounge
Oct 11th, 2007, 3:26 PM
|
|
Replies: 10
Views: 258
I recommend...
I recommend staruml
http://staruml.sourceforge.net/en/
Awesome little tool. One thing I really like about it is that you can generate UML diagrams from existing code, as well as generate code from...
|
Forum: Software Design and Algorithms
Oct 11th, 2007, 3:19 PM
|
|
Replies: 4
Views: 265
|