Re: [c-prog] how to find the operating system design.

2010-05-16 Thread Tyler Littlefield
This list doesn't help with writing viruses. Your on your own, there. - Original Message - From: Rajat To: c-prog@yahoogroups.com Sent: Sunday, May 16, 2010 5:35 AM Subject: [c-prog] how to find the operating system design. hi guys, i m writing a program that has

[c-prog] code review:aspen

2010-05-11 Thread Tyler Littlefield
game. So the goal of this project is to provide a good starting point for people to work off of, with a good clean codebase. Thanks, Tyler Littlefield [Non-text portions of this message have been removed]

Re: [c-prog] 'Why Can't Programmers.. Program?'

2010-05-08 Thread Tyler Littlefield
I love how most of the solutions to the problem posed in the blog that people rushed to answer was wrong. Either the coder who had to prove him/herself didn't actually print the number, they tried to get clever and do it in a way that someone else hadn't done yet and failed, or they had issues

Re: [c-prog] struct stat st_ino

2010-05-01 Thread Tyler Littlefield
No, it's not, actually. it can be changed. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On May 1, 2010, at 5:11 AM, Bharat Surana wrote: yes it is On Sat, May 1, 2010 at 8:02 AM, Pedro izecks...@yahoo.com wrote: Is the inode

Re: [c-prog] MultiThreading !?!

2010-04-03 Thread Tyler Littlefield
, if you do enough programming. Just like everything else (techniques, etc), there will be a time and a place for them. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Apr 2, 2010, at 9:48 PM, Knowledge Seeker wrote: Because there are some

Re: [c-prog] MultiThreading !?!

2010-04-02 Thread Tyler Littlefield
um, no. in stone age, people had other ways around it. Signals might have worked in some cases, but interrupts are totally different things. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Apr 2, 2010, at 11:02 AM, Knowledge Seeker wrote

Re: [c-prog] MultiThreading !?!

2010-04-02 Thread Tyler Littlefield
, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Apr 2, 2010, at 11:55 AM, Knowledge Seeker wrote: On 4/2/2010 11:00 PM, Gerald Dunn wrote: Crux of the discussion Thread is needed where one thinks that a aysnc-operation is needed . Basically you have

Re: [c-prog] MultiThreading !?!

2010-04-02 Thread Tyler Littlefield
You asked if it was stone age, and went back to something that wasn't multi threading either. I was giving you a solution for how that might've been done in the stone age. My deepest sympathies for going off topic in *your* thread. Thanks, Tyler Littlefield http://tds

Re: [c-prog] MultiThreading !?!

2010-04-02 Thread Tyler Littlefield
Because there are some times when it is needed. Is this topic to ask about when it could be used? Or to persuade people not to use it. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Apr 2, 2010, at 7:34 PM, Knowledge Seeker wrote: On 4

Re: [c-prog] Re: Database (ODBC) Connectivity in C/C++ : Linker Problem

2010-03-24 Thread Tyler Littlefield
what compiler? Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 21, 2010, at 7:47 PM, Ankit wrote: I am getting the facing the problem on where to tell the linker about the file odbc32.lib. I can't see any option. -- Ankit

Re: [c-prog] function that use to perform same operation on diffrent files...

2010-03-22 Thread Tyler Littlefield
your building off the inheritance. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 22, 2010, at 10:51 AM, Jalpan wrote: does anyone have any idea how should we use a function ...that will perform the same activity for the two

Re: [c-prog] Re: How to access members of a typedef struct pointer??

2010-03-17 Thread Tyler Littlefield
, but the end-result of someone who knows when to use the resources he's been given can be a very powerful well-built stable program, as opposed to the unstable software everyone but those who use 10 different layers in their applications write. Thanks, Tyler Littlefield http

Re: [c-prog] Re: How to access members of a typedef struct pointer??

2010-03-17 Thread Tyler Littlefield
No bad blood, or at least not what wasn't already there. This discussion and others have came up before, and it usually ends up with me and chris on one side, and Thomas on the other. I think it's a matter of preference and what we've expereinced in the past. Thanks, Tyler

Re: [c-prog] A thought about example code

2010-03-16 Thread Tyler Littlefield
or later. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 16, 2010, at 10:16 AM, Jimmy Johnson wrote: I just want to say thanks again to all the people on this forum who have provided so much help to me. But I have a suggestion

Re: [c-prog] Re: How to access members of a typedef struct pointer??

2010-03-16 Thread Tyler Littlefield
yourself in the foot. The need to understand pointers didn't go away with c, it's still something you need to learn in c++. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 16, 2010, at 8:05 PM, Christopher Coale wrote: nimak247

Re: [c-prog] Re: A thought about example code

2010-03-16 Thread Tyler Littlefield
working on a big project that makes use of a library most of these libraries tend to use pointers, and reading your own, or other people's code is going to be needed to be able to easily work on the project. Thanks, Tyler Littlefield http://tds-solutions.net

Re: [c-prog] hard disk that beeps..

2010-03-15 Thread Tyler Littlefield
I'm slightly curious as to why this is up here; is the internal harddrive beeping a c issue or something? I'd love to see the code that makes internal components beep, as a beeping drive is something I've never seen before. Thanks, Tyler Littlefield http://tds

Re: [c-prog] Function as an argument for assignment to attribute?

2010-03-15 Thread Tyler Littlefield
Hello, What you want is function pointers, for which you'll need to use a typedef if I understand you right; try a google for function pointer and it will show you how they work. HTH, Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar

Re: [c-prog] New on C program

2010-03-14 Thread Tyler Littlefield
If you want to use c# your not going to use gcc. if you want gcc you can probably grab it from http://mingw.org You can use it to create windows applications, assuming a windows application for you is one with a gui. You'll need the platform SDK to do so. Thanks, Tyler

Re: [c-prog] Display PPT file

2010-03-13 Thread Tyler Littlefield
a ppt in .exe format? .exe is an executable, ppt is powerpoint... What exactly are you trying to do? If you want to display it you will need to look up the format and parse that out. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 13

Re: [c-prog] How to access members of a typedef struct pointer??

2010-03-13 Thread Tyler Littlefield
Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 13, 2010, at 1:43 PM, nimak247 wrote: Hello all, I am trying to create a type that is a pointer to a struct, but I cant seem to access the contents of the struct. I am trying

Re: [c-prog] PLZ SOLVE THIS :

2010-03-12 Thread Tyler Littlefield
We do not do your homework. Tell us what you've tried to do, where it went wrong, what you have problems with. Supply code. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 11, 2010, at 11:40 PM, Rakibul Islam wrote: Three

Re: [c-prog] What is the importance of C programming in the days of web

2010-03-09 Thread Tyler Littlefield
php doesn't rule anything. It's slow in a lot of cases and there is a difference between web programming and systems programming. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 9, 2010, at 6:24 AM, bhatmahesht wrote: As we

Re: [c-prog] (unknown)

2010-03-07 Thread Tyler Littlefield
I hate to break the news, but \n is 10, not 13. \r is 13. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Mar 7, 2010, at 5:06 PM, Rick wrote: At 3/6/2010 02:00 PM, you wrote: use scan code of enter insted of ''\n'. which is 13

Re: [c-prog] Non integral type class constant - How?

2010-02-27 Thread Tyler Littlefield
Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 27, 2010, at 4:57 PM, Olufowobi Lawal wrote: I need to achieve class constant for integral type Awesome. And? What is the problem? Why can't you just use const? We need more than one

Re: [c-prog] Is NULL defined somewhere?

2010-02-25 Thread Tyler Littlefield
it doesn't tell the compiler anything. the compiler can remove NULL checks, but at compile-time the compiler doesn't need to know the value of the pointer. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 25, 2010, at 7:47 AM, Benjamin

Re: [c-prog] Is NULL defined somewhere?

2010-02-25 Thread Tyler Littlefield
quoting mess? More complaints about my top posting? terrible. :| Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 25, 2010, at 7:56 AM, Paul Herring wrote: On Thu, Feb 25, 2010 at 2:47 PM, Benjamin Scott benjamin_cail_sc...@yahoo.com

Re: [c-prog] c++ prog

2010-02-24 Thread Tyler Littlefield
thanks for the code, are you just showing us your homework? or was there something you wanted to ask. My only thing is you should only be getting 4, not 5. make for (i=0;i5;i++) Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 24

Re: [c-prog] Form Design

2010-02-24 Thread Tyler Littlefield
first, don't use turbo. Second, you will end up using a library like wxwigits or the windows API, check out winprog.net for a tutorial. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 24, 2010, at 5:44 AM, Mohd Arif wrote

Re: [c-prog] Is NULL defined somewhere?

2010-02-24 Thread Tyler Littlefield
It doesn't know the value *at* the pointer, nor the value it points to, unless your using a statement to assign/check. The pointer points to an address, so the compiler doesn't really know the value unless it's assigned, or unless it's a constant in some cases. Thanks, Tyler

Re: [c-prog] Re: Is NULL defined somewhere?

2010-02-23 Thread Tyler Littlefield
um, it's not a bool. it's just '0'... Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 23, 2010, at 9:53 AM, Jimmy Johnson wrote: --- In c-prog@yahoogroups.com, Paul Herring pauljherr...@... wrote: What should it be. And I

Re: [c-prog] Re: Is NULL defined somewhere?

2010-02-23 Thread Tyler Littlefield
you would just #define NULL 0 so your not assigning 0 to it, just NULL. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 23, 2010, at 10:25 AM, John wrote: --- In c-prog@yahoogroups.com, Tyler Littlefield ty...@... wrote: um, it's

Re: [c-prog] Printf and Scanf

2010-02-18 Thread Tyler Littlefield
the compiler doesn't just say hey, look, someone used printf, lets include stdio. it was more than likely included somewhere else. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 18, 2010, at 1:36 AM, Prince Annan Koomson wrote

Re: [c-prog] C Compiler

2010-02-14 Thread Tyler Littlefield
check out visual studio 2008, or mingw's compilers, they work well enough. avoid Terbo. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 14, 2010, at 4:29 AM, Mohd Arif wrote: Hello friends !! I am using

Re: [c-prog] C Compiler

2010-02-14 Thread Tyler Littlefield
visual c++ 6? isn't that like ancient and such? Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 14, 2010, at 7:29 AM, Muhammad Jahanzaib wrote: Many Compilers are compatible with windows 7 like VISUAL C++ 6.0 and DEV compilerz

Re: [c-prog] C Compiler

2010-02-14 Thread Tyler Littlefield
Ancient==bad, in this case. Use something newer like 2008/2010. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 14, 2010, at 8:31 AM, Muhammad Jahanzaib wrote: h. its some sort of ancient, but its not bad as such so i suggested

Re: [c-prog] port communication in c++

2010-02-14 Thread Tyler Littlefield
don't use turbo! Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 14, 2010, at 10:07 AM, Abuzer Firdousi wrote: i am using Windows xp. And compiler Turbo C. On Sat, Feb 13, 2010 at 4:10 AM, Thomas Hruska thru

Re: [c-prog] Keyboad function

2010-02-12 Thread Tyler Littlefield
you'll have to explain more, do you want to just send a key to an app? what platform are you running under? Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 12, 2010, at 6:07 AM, satish uniyal wrote: Dear friends, Is it possible

Re: [c-prog] port communication in c++

2010-02-12 Thread Tyler Littlefield
strongly depends on which OS your using, etc etc... Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Feb 12, 2010, at 3:40 PM, Abuzer wrote: what is basic to write a program from serial and LPT port in C++. Can some one illustrate

Re: [c-prog] Spam since joining c-prog

2010-01-31 Thread Tyler Littlefield
I got it after joining, too. It also seems as if someone recruited lots of people to some stupid tech-alliance list thing. most of it hit the junk folder, but not all of it. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Jan 31, 2010

Re: [c-prog] plz help me..................

2010-01-25 Thread Tyler Littlefield
I was refering to the 'plz,' native or not this is a professional list, and AOL-speak just makes people look bad. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Jan 25, 2010, at 1:27 AM, Steve Searle wrote: Around 02:52am on Monday

Re: [c-prog] Do I have a perspective problem with header files?

2010-01-24 Thread Tyler Littlefield
what you should do is include the files that you need to in the header file, for other types and such, then include them in include the other files for the types in the source file that you'll need, after including the header. Thanks, Tyler Littlefield http://tds

Re: [c-prog] Re: Do I have a perspective problem with header files?

2010-01-24 Thread Tyler Littlefield
inclusion guard is something like #ifndef MYFILE_H #define MYFILE_H ... #endif that makes it so the header won't be included more than once. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Jan 24, 2010, at 6:50 PM, Jimmy Johnson wrote

Re: [c-prog] plz help me..................

2010-01-24 Thread Tyler Littlefield
Well, maybe you'll make a better programming teacher than you would one of grammar. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Jan 22, 2010, at 12:44 AM, Narayan wrote: any one . friends i want problems and solution

Re: [c-prog] Trying to print the name of Current object

2010-01-24 Thread Tyler Littlefield
hello, c++ doesn't store the name of the class in the binary, you'll have to store that yourself if you want it. Thanks, Tyler Littlefield http://tds-solutions.net Twitter: sorressean On Jan 24, 2010, at 7:35 PM, Jimmy Johnson wrote: Thanks to Tyler, Peter

Re: [c-prog] Getting shell script exit status in C++ program.

2010-01-20 Thread Tyler Littlefield
best way I can think of is to create the process and get the status from that. why are you invoking a shell script, though? I can't think of a place where system should be used as it provides a few issues. On Jan 20, 2010, at 10:00 AM, Sanjeev Gupta wrote: Hi Friends, I am invoking a shell

Re: [c-prog] Getting shell script exit status in C++ program.

2010-01-20 Thread Tyler Littlefield
um, fork? fork creates a second process, not spawns a specific one... On Jan 20, 2010, at 10:33 AM, shadyabhi wrote: Sanjeev Gupta wrote: Hi Friends, I am invoking a shell script in a C++ program using 'system()' finction (I believe system() is the only way to call a script from

Re: [c-prog] Getting shell script exit status in C++ program.

2010-01-20 Thread Tyler Littlefield
: On Wed, Jan 20, 2010 at 12:52 PM, Tyler Littlefield ty...@tysdomain.com wrote: um, fork? fork creates a second process, not spawns a specific one... The way to use fork for this scenario is to fork the process and then use one of the exec...() functions to run the script in the child process

Re: [c-prog] Getting shell script exit status in C++ program.

2010-01-20 Thread Tyler Littlefield
got it. I was thinking of exec like it would create it's own process rather than replacing everything--thanks for clearing that one up. On Jan 20, 2010, at 11:30 AM, Brett McCoy wrote: On Wed, Jan 20, 2010 at 1:02 PM, Tyler Littlefield ty...@tysdomain.com wrote: what purpose does

Re: [c-prog] Problem with dynamic memory allocation

2010-01-20 Thread Tyler Littlefield
first: you should use new, not malloc. Second, you allocate a block of memory of 40 bytes, or 10 integers, and use extra--why? just do: int *i=new int(10); int j; for (j=0;j10;j++) { i[j]=j; } HTH, On Jan 20, 2010, at 1:39 PM, shamir shakir wrote: Hi , I'm having some probs in this code

[c-prog] new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
Thanks, Tyler Littlefield

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
will add instructions on checkout to the page, however; thanks again. On Jan 6, 2010, at 9:43 AM, John wrote: --- In c-prog@yahoogroups.com, Tyler Littlefield ty...@... wrote: I've finally put the final touches on the stable version thus far, to the point where I feel ok about releasing

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
hello, I'm not sure if I gave you the wrong url, but the stable branch is: svn://tds-solutions.net/aspen/trunk Sorry about that if you had the wrong URL, and thanks. On Jan 6, 2010, at 10:12 AM, John wrote: Ok, thanks for that Tyler. I tried doing: svn co svn://tds-solutions.net/trunk but

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
Hello John, I have removed those switches from the Makefile and commited to a new revision; a svn update should fix it. I also gave you credit in the commit, thanks for pointing that out. I had had those in there to speed it up a bit on my end, but I wasn't aware that other versions of gcc

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
@yahoogroups.com, Tyler Littlefield ty...@... wrote: I also gave you credit in the commit Wow, thanks - fame at last! Yes, it builds ok now, although I do get 215 warnings, or 167 if you don't count the 48 'no newline at end of file'. I appreciate you are using the pedantic switch, so perhaps you

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
for those who are running an earlier version of 4.x. On Jan 6, 2010, at 11:36 AM, John wrote: --- In c-prog@yahoogroups.com, Tyler Littlefield ty...@... wrote: what platform are you using? CentOS 5.4, which is basically Redhat (Enterprise?) I believe. Are you perhaps using an old

Re: [c-prog] Re: new release: aspen mudbase

2010-01-06 Thread Tyler Littlefield
I'm not quite sure. I'll load centos on my linode system and see what I get from there. On Jan 6, 2010, at 12:29 PM, John wrote: --- In c-prog@yahoogroups.com, Tyler Littlefield ty...@... wrote: my gcc -dumpversion shows a 4.3.2. I would upgrade, but 4.1.2 is the latest version

Re: [c-prog] Query about data structures!

2010-01-04 Thread Tyler Littlefield
you'll need to keep a struct like: struct key{ std::string name; std::string value; vector key subkeys; }; then you can just recurse the tree and fill it in, with a root struct, or just 5 structs that have the roots of the keys. On Jan 4, 2010, at 10:55 AM, Gopi Krishna Komanduri wrote: Hi,

Re: [c-prog] Re: Getting Biggest number of two.

2010-01-02 Thread Tyler Littlefield
I'm not quite sure why all this study is being put into something like this. Why not just use the sign or functions like thomas pointed out? Writing clever code is just going to break things in the end. On Jan 2, 2010, at 11:40 AM, Thomas Hruska wrote: Anup Joshi wrote: Hello Friends,

Re: [c-prog] Re: Getting Biggest number of two.

2010-01-02 Thread Tyler Littlefield
Guess that would make sense, and I didn't see it. I just keep seeing this thread with clever answers that consist of clever code, and stopped reading. :) On Jan 2, 2010, at 4:54 PM, Paul Herring wrote: On Sat, Jan 2, 2010 at 7:36 PM, Tyler Littlefield ty...@tysdomain.com wrote: I'm not quite

Re: [c-prog] help with free()

2009-12-26 Thread Tyler Littlefield
I'm not sure if this is going to make a difference, but free ((args)[...]); should just be free(args[..]); On Dec 26, 2009, at 6:43 PM, Justin wrote: Hi, I really can't figure this one out. Please, anyone with an idea please help, here is some code. // Get conductivities. *k =

Re: [c-prog] Writing to files

2009-12-22 Thread Tyler Littlefield
hello, Your best bet would be to just use binary or something, without knowing your format it's not very easy to jump in and start editing your files. HTH, On Dec 22, 2009, at 7:14 AM, Sam wrote: Hi all This is just a general question about writing to files. Im currently writing an app that

Re: [c-prog] urgent help please

2009-12-15 Thread Tyler Littlefield
Hello, While this may be urgent to you, it is not urgent for us. Most of the people here have done their homework and are now working or hobbiest programmers. To demand urgent help because you didn't take the time to try to learn it yourself, and then to presume that you will get the exact

Re: [c-prog] Re: urgent help please

2009-12-15 Thread Tyler Littlefield
why are people giving him code? this is his homework! On Dec 15, 2009, at 4:38 PM, py2akv wrote: Uday, With respect to others who already gave you good ideas, I'd like to show you my modest contribution. The string below is the worst case scenario with blanks at the beginning, at the

Re: [c-prog] samar

2009-12-06 Thread Tyler Littlefield
does this actually work? it looks like your file pointers are being assigned to NULL in the if statements. On Dec 6, 2009, at 3:40 PM, samar aseeri wrote: hi, the below attached program uses the argument command line the copy a file to another file. my question is what can I change in

Re: [c-prog] function call before main

2009-11-18 Thread Tyler Littlefield
I don't know about a startup file. You could always redefine the entry point with the linker and make that call main, but why not just call the function in the top of main? int main(void) { myFunc(); return 0; } On Nov 18, 2009, at 11:15 AM, tujare_raj1 wrote: can we call any function before

Re: [c-prog] Re: Go Programing Language

2009-11-14 Thread Tyler Littlefield
Saying that google should limit its self, is quite a leap; though you've always been up for the presumptions that what you say should be. I do beleive there are to many languages, but limiting yourself to only c++ for systems programming and php for web programming is quite the limitation; what

Re: [c-prog] Fw: [DSF09] Fw: MUST READ IT PLEASE, PLEASE , PLEASE

2009-10-25 Thread Tyler Littlefield
and the moral?: While your sitting coding, an angel might float through your door and steal your soul, be ware. On Oct 25, 2009, at 11:21 AM, Bilal Nawaz wrote: --- On Sun, 10/25/09, Bilal Nawaz bilalnawazhall...@yahoo.com wrote: From: Bilal Nawaz bilalnawazhall...@yahoo.com Subject:

Re: [c-prog] Re: Overwrite Memory allocation for typedef struct

2009-10-21 Thread Tyler Littlefield
what flaw does realloc have? Please explain. On Oct 21, 2009, at 9:47 PM, Ravi Mishra wrote: thanks john .give me a gud approach my code is in C language. I don't want to use realloc because realloc has some flaw. i just want to use malloc.. actually intally i don't know how much byte

Re: [c-prog] Re: my first decent project

2009-10-19 Thread Tyler Littlefield
wrote: --- In c-prog@yahoogroups.com, Tyler Littlefield ty...@... wrote: Basically a mud is just a text-based game that multiple people can play Thanks for the explanation Tyler. In terms of playing the game, after the program displays 'Entering game loop', what happens next? Typing

Re: [c-prog] Re: my first decent project

2009-10-18 Thread Tyler Littlefield
I'm sorry. I wrote the readme before I wrote the config in. the idea was to make sure that there weren't any files left over when the user extracted; I will update that. On Oct 18, 2009, at 7:14 AM, johnmatthews2000 wrote: --- In c-prog@yahoogroups.com, johnmatthews2000 jm5...@... wrote:

Re: [c-prog] Re: my first decent project

2009-10-18 Thread Tyler Littlefield
hello, The readme shows the port is set to . It opens a port that you can connect on and create your new user. I am curious, what compiler your using? I was using g++ and didn't get a lot of those warnings or I would've fixed them, before sending that out. On Oct 18, 2009, at 7:31 AM,

[c-prog] my first decent project

2009-10-17 Thread Tyler Littlefield
/skelmud.tar.gzhttp://tds-solutions.net/skelmud.tar.bz2 Again, any suggestions and comments are appriciated, either on or off list. Thanks, Tyler Littlefield

Re: [c-prog] How to compile using Borland????

2009-10-08 Thread Tyler Littlefield
I'd recommend you grab something like visual studio or g++ if you want to use c++. From what I know, borland turbo c++ or whatever that's called is pretty out of date. On Oct 7, 2009, at 8:33 PM, danielle.douse wrote: [mod-- F1 is your friend --mod PN] I just enrolled in my C++ class and

Re: [c-prog] what would be the output

2009-09-05 Thread Tyler Littlefield
Because all new projects should be written in C++. that's pretty bias, no? All new projects don't have to be written in c++; plenty aren't actually. - Original Message - From: Thomas Hruska To: c-prog@yahoogroups.com Sent: Saturday, September 05, 2009 10:06 AM Subject: Re:

Re: [c-prog] what would be the output

2009-09-03 Thread Tyler Littlefield
this will be undefined; in other words, results may verry. - Original Message - From: Akash Goswami To: c-prog@yahoogroups.com Sent: Thursday, September 03, 2009 5:53 AM Subject: [c-prog] what would be the output #includestdio.h #includeconio.h int main() { int

Re: [c-prog] what would be the output

2009-09-03 Thread Tyler Littlefield
I was thinking about requesting it get added to the faq, but that doesn't seem to get read much. - Original Message - From: Olufowobi Lawal To: c-prog@yahoogroups.com Sent: Thursday, September 03, 2009 3:43 PM Subject: Re: [c-prog] what would be the output

Re: [c-prog] Re: [ANNOUNCE] rebase - A math game for the console

2009-09-02 Thread Tyler Littlefield
Just wanted to say good job, and glad your listening to ideas. I'll take a closer look at the code tomorrow and see what I can offer in terms of suggestions, if any. - Original Message - From: izecksohn To: c-prog@yahoogroups.com Sent: Wednesday, September 02, 2009 1:38 AM

Re: [c-prog] Mean, Median Mode

2009-08-24 Thread Tyler Littlefield
lost tracks? where are these tracks you lost. Show us what you've done first. - Original Message - From: Akash Goswami To: c-prog@yahoogroups.com Sent: Monday, August 24, 2009 7:39 AM Subject: [c-prog] Mean, Median Mode X marks in test 0-9 10-19 20-29 30-39 40-49 50-59

Re: [c-prog] plz solve

2009-08-07 Thread Tyler Littlefield
it's a comparison issue, I think paul sited a link for the two. - Original Message - From: Lori Nagel To: c-prog@yahoogroups.com Sent: Friday, August 07, 2009 8:39 AM Subject: Re: [c-prog] plz solve I ran it on my computer (Linux, gcc compiler pentium 4) and I got

Re: [c-prog] Re: unable to create output file.object

2009-07-22 Thread Tyler Littlefield
first... Your smilies make my head hurt Beyond that: Your assigning to a %s and your data type is a char, that's going to be problematic. Third, I'd recommend something over borlend. Visual c++, mingw etc. - Original Message - From: SVMAYOL To: c-prog@yahoogroups.com Sent:

Re: [c-prog] Check out my photos on Facebook

2009-07-21 Thread Tyler Littlefield
Tyler Littlefield wrote: how did this get through mod? An older account not on moderation (pre-new member moderation). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/ [Non

Re: [c-prog] VS++ 6 VS NET 2005

2009-07-18 Thread Tyler Littlefield
I don't think you should run vs6, but vs2005 and vs2008 work with each other; that is, vs2008 will open and resave your ssolutions, vs2005 will not read them. Peace, - Original Message - From: Niranjan Kulkarni To: c-prog@yahoogroups.com Sent: Saturday, July 18, 2009 7:27 PM

Re: [c-prog] I am not agree with u.

2009-07-16 Thread Tyler Littlefield
No: the issue is when you assign to a. You can always do something like int b=a/3+(a*4)-a; but when you use ++a your assigning/changing. - Original Message - From: Michael White To: c-prog@yahoogroups.com Sent: Thursday, July 16, 2009 1:39 PM Subject: Re: [c-prog] I am not

Re: [c-prog] Question: Having a program recognize a GUID

2009-07-16 Thread Tyler Littlefield
you might start off by telling us what libs, platform, and firewall your using; that would help out a bit. - Original Message - From: Michael E White To: c-prog@yahoogroups.com Sent: Wednesday, July 15, 2009 11:22 PM Subject: [c-prog] Question: Having a program recognize a

Re: [c-prog] Bug finding contest for C experts

2009-07-15 Thread Tyler Littlefield
I suggest that you use that 5 hours to complete your homework yourself. - Original Message - From: Ravi Mishra To: c-prog@yahoogroups.com Sent: Wednesday, July 15, 2009 1:29 AM Subject: Re: [c-prog] Bug finding contest for C experts ppls just share ur idea..this is just

Re: [c-prog] Bug finding contest for C experts

2009-07-14 Thread Tyler Littlefield
awesome. do I get a prize if I win this contest? - Original Message - From: Ravi Mishra To: c-prog@yahoogroups.com Sent: Tuesday, July 14, 2009 1:29 PM Subject: [c-prog] Bug finding contest for C experts Hi, I was analyzing a core dump and then narrow down the problem

Re: [c-prog] Calling cpp function which contains class from a c function

2009-07-10 Thread Tyler Littlefield
If you want to access a class that's written in c++ from c, you'll have to write a c wrapper around it. - Original Message - From: Sajidul Huq To: c-prog@yahoogroups.com Sent: Wednesday, July 08, 2009 10:52 PM Subject: [c-prog] Calling cpp function which contains class from

Re: [c-prog] its a 2D array problem

2009-07-07 Thread Tyler Littlefield
first I'm not quite sure what your doing with a==a, b==b, etc. You don't get input, and the first if statement will always be true. You need to get the input, then use a switch statement to find out what they typed, use a default label to print an error message. Second, you do rows,columns. It

Re: [c-prog] DJVU file

2009-07-04 Thread Tyler Littlefield
I'm not quite sure how this fits into c-prog, but: http://djvu.org Might be what you want - Original Message - From: SVMAYOL To: c-prog@yahoogroups.com Sent: Saturday, July 04, 2009 6:19 PM Subject: [c-prog] DJVU file hi all, whats a DJVU file? how can i open this

Re: [c-prog] Feistel source code c++

2009-06-21 Thread Tyler Littlefield
, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. - Original Message - From: flixers_3010 flixers_3...@yahoo.co.id To: c-prog@yahoogroups.com Sent: Sunday, June 21, 2009 3:42 AM Subject: [c-prog] Feistel source

Re: [c-prog] class code example

2009-06-09 Thread Tyler Littlefield
what do we do with this? is there some problem somewhere? Also, unless I missed it, you need a using namespace std, or you need to reference the namespace for cout. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added

Re: [c-prog] unpredictable OUTPUT????

2009-06-08 Thread Tyler Littlefield
using TerboC/C++ why? You could use something a little more dated. We also need to see your swap func. Secondly, if (510) shouldn't even execute. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features

Re: [c-prog] Re: unpredictable OUTPUT????

2009-06-08 Thread Tyler Littlefield
seems I missed the define... weird. I was wondering where the swap function went. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. - Original Message - From: peternilsson42 peternilsso

Re: [c-prog] Re: death of recursion?

2009-06-04 Thread Tyler Littlefield
why would you send one variable or the pointer? if your sending an int already, there shouldn't be a problem. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. - Original Message - From: John

Re: [c-prog] reference data type

2009-06-03 Thread Tyler Littlefield
hello, Reference isn't a data type. It's just a way of passing something to a function without having to use a pointer, it's as fast as a pointer, but elimenates the need, from what I understand. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs

Re: [c-prog] reference data type

2009-06-03 Thread Tyler Littlefield
the OP is asking about references. does there need to be an example to ask how they work? Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. - Original Message - From: Ahmed Shabana unlimited

Re: [c-prog] File IO

2009-06-01 Thread Tyler Littlefield
Hello, If performance is criticle, just leave the file open; open before the loop, read in data, close the file. Don't open and close for every read. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features

Re: [c-prog] Re: Finding the time taken by our C/C++ program

2009-05-31 Thread Tyler Littlefield
time prog if your on linux... Just use the time command, then the program name. time ./myprog. When the program is done running, it'll show you the output Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features

Re: [c-prog] c++ protected members

2009-05-23 Thread Tyler Littlefield
of the class to c0*k from what I can tell. Also, what is k? I didn't see it defined, though I may have just missed it. Thanks, Tyler Littlefield Web: tysdomain.com email: ty...@tysdomain.com My programs don't have bugs, they're called randomly added features. - Original Message - From

  1   2   3   4   5   >