Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 344
Search took 0.44 seconds.
Search: Posts Made By: Seif
Forum: C++ Aug 19th, 2008, 3:30 PM
Replies: 4
Views: 178
Posted By Seif
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
Posted By Seif
Re: visual studio 2005 vs. visual stud 2008 express edition

http://msdn.microsoft.com/en-us/vstudio/products/cc149003.aspx



highlighted availability for all visual studio products.

If you can't read the two links I gave you on the product features, at...
Forum: Coder's Corner Lounge Jul 17th, 2008, 3:40 AM
Replies: 14
Views: 431
Posted By Seif
Re: visual studio 2005 vs. visual stud 2008 express edition

See Attachment. Really don't need to say anything more.

RTFM comes to mind. If you don't know how to use the IDE, then you shouldnt come preaching on the forums to people who want advice.
Forum: Coder's Corner Lounge Jul 16th, 2008, 5:58 PM
Replies: 14
Views: 431
Posted By Seif
Re: visual studio 2005 vs. visual stud 2008 express edition

Well thats complete bs for a start. Both express editions provide almost a complete set of debugging utilities.

I would personally take peoples opinion on things like this as a grain of salt. Most...
Forum: C Jul 12th, 2008, 12:44 PM
Replies: 3
Views: 173
Posted By Seif
Re: Sum of digits in a float?

sprintf

http://www.cplusplus.com/reference/clibrary/cstdio/sprintf.html
Forum: Software Design and Algorithms Jul 2nd, 2008, 6:41 PM
Replies: 3
Views: 185
Posted By Seif
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
Posted By Seif
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
Posted By Seif
Re: syntax error before printf

you have a stray do before the printf.
Forum: C++ Jun 20th, 2008, 5:08 PM
Replies: 4
Views: 206
Posted By Seif
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
Posted By Seif
Re: Assigning a class function as a callback function

Just an extra note. Although static members are type compatible with pointer to functions with most compilers, there are some ABI's where they may differ between C and C++.
In these cases you'd...
Forum: C++ Jun 18th, 2008, 6:49 PM
Replies: 3
Views: 252
Posted By Seif
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
Posted By Seif
Re: Volunteer Coder for a Very Small Project

Smells like homework to me.
Forum: C++ Jun 16th, 2008, 4:27 PM
Replies: 9
Views: 390
Posted By Seif
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
Posted By Seif
Re: how to tell C++ from Java source code?

http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B
Forum: Coder's Corner Lounge May 16th, 2008, 3:26 PM
Replies: 2
Views: 223
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
Re: Techniques For Overcoming Stack Overflow In DP

I believe its possible to set the applications stack size when using the gnu linker with -stack <size>.

other ideas would be,

1. Check you aren't losing stack space due to alignment.
2. Play with...
Forum: Bash / Shell Scripting Mar 24th, 2008, 8:00 PM
Replies: 13
Views: 622
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
Re: Why my program dont cout perfect number?

int Perfectnumber (int rob) {
int result;
int sum = 0;
for (int i = 1; i < rob; i++) {
if (rob % i == 0) {
sum += i;
}
if (sum ==...
Forum: C Mar 19th, 2008, 4:23 PM
Replies: 18
Views: 450
Posted By Seif
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
Posted By Seif
Re: Version Control Software

I also recommend subversion.
Forum: Coder's Corner Lounge Mar 18th, 2008, 2:19 PM
Replies: 27
Views: 1,063
Posted By Seif
Re: Do you like solving programming problems?

looks good. I may give this a look at when i next get some free time. Whens the deadline ?
Forum: C++ Mar 8th, 2008, 7:33 AM
Replies: 17
Views: 652
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
Re: two classes, call each others functions - how?!!

The friend keyword would allow the classes to access all of each others public, private and protected data and functions. but would not resolve this cyclic dependancy issue.
Forum: C++ Feb 22nd, 2008, 2:58 PM
Replies: 6
Views: 222
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
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
Posted By Seif
In my opinion I found Visio a very poor solution,...

In my opinion I found Visio a very poor solution, especially compared to many other tools out there, most of which are a lot cheaper / free.

I found it very limited and restricting in what I could...
Forum: Coder's Corner Lounge Oct 11th, 2007, 3:26 PM
Replies: 10
Views: 258
Posted By Seif
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
Posted By Seif
depends on what type of "system" you want to...

depends on what type of "system" you want to design.
Showing results 1 to 40 of 344

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:00 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC