Posts
 
Reputation
Joined
Last Seen
Ranked #866
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
7
Posts with Upvotes
4
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
1 Endorsement
Ranked #858
Ranked #2K
~10.7K People Reached
Interests
Travel, books, music, movies, environmental conservation, meditation, and of course, C programming!
PC Specs
Arch Linux
Favorite Tags
c x 28
c++ x 1
php x 1
Member Avatar for alamu

>moderator eyes have stopped completely working @ra527: Even after having been banned twice, why do you insist on posting such rude comments? You still have a lot to learn, not just about programming (your code is sloppy at best) but also on how to behave.

Member Avatar for 4rajgopal
0
1K
Member Avatar for _avishek

At work, I recently had an MBTI test done, and I came out as the INFP type. It seems to be a good indicator to my personality type, and offers some insight into the decision that I make. INFP personalities are associated more with ideals, music, and writing, but not …

Member Avatar for jwenting
0
271
Member Avatar for vegaseat

I do agree about the complexity part exceeding human comprehension. I currently work at a cancer hospital / research institute, and over the past few days have been struggling to link up one of our new CT scan machines with the vendor's server in Germany. It has stumped me, the …

Member Avatar for Reverend Jim
0
668
Member Avatar for ovimanyrobin

Hello, Robin! Might I suggest you read the following excellent article by Peter Norvig: "Teach Yourself Programming in Ten Years". Here's the link: http://norvig.com/21-days.html I hope you find the article insightful.

Member Avatar for David W
0
132
Member Avatar for Dee Wa Kar

I have been out of Daniweb for the past three years. Returning now, I see many pleasant changes. However, in one regard Daniweb has not changed -- it still seems to be flooded with homework problems!

Member Avatar for AndrisP
0
105
Member Avatar for LastMitch
Member Avatar for Hyperion101

Refer to the comments I have added to your original code. #include <stdio.h> #include <simpio.h> /* Remove this */ #include <genlib.h> /* Remove this */ main() /* Should be int main(void) */ { float c, f; /* Should be int f; float c; */ for (f=0,f<200,f++20); /* Should be for …

Member Avatar for Hyperion101
0
657
Member Avatar for ax33m144

> in ubuntu probably at User/Include/gcc On my Debian machine, the algorithm file can be found at one of the two locations: * /usr/include/c++/4.4 * /usr/include/c++/4.4.5 It should be similar on Ubuntu. Remember that on Linux, file paths are case-sensitive!

Member Avatar for I_m_rude
0
2K
Member Avatar for jayram.chandan

What on earth are you trying to achieve with this program? My eyes have started watering just looking at your code!

Member Avatar for jayram.chandan
-1
235
Member Avatar for under_dog

> how can i view the source code of my distro? I have not used CentOS, but in the Linux distros I have used, the kernel source code is generally found in the directory pointed to by the /usr/src/linux symlink. > do we need that if we were to create …

Member Avatar for rubberman
0
93
Member Avatar for Tani111

Xubuntu is a good choice. You can download the LiveCD, and use it to boot your laptop. If everything works out OK, you can choose to install the OS. You can download it from here: http://xubuntu.org/

Member Avatar for PhilEaton
1
155
Member Avatar for jhonhiel.abasolosasaban

> my flashdrive is in (F;) Why are you running Turbo C from a flash drive? I think you would be better off installing it on your hard disk; that way at least you could ensure that the runtime directories are in their correct place. If you are using Windows …

Member Avatar for np complete
0
101
Member Avatar for DaveTran

I think you need to declare the Game class in Entity.h like so: class Game {}; Declaring the Game class with an empty member list should make it a complete declaration. Without the empty member list, the class would have an incomplete declaration, which would not allow any objects of …

Member Avatar for JasonHippy
0
406
Member Avatar for ronnel09

I am not sure that I understand your question completely. A loop is a programming construct that repeatedly executes some code while a certain condition is true. Examples are the "for" and "while" constructs. If you are asking whether something like this is possible: for(;;) { main(); program(); } then …

Member Avatar for _avishek
0
103
Member Avatar for gAb1

The link you posted discusses the ToJSON function -- this function is a T-SQL function, and NOT a C/C++ function. You will be able to call the ToJSON function only from within SQL Server stored procedures and functions, and not from C/C++ code. For your purpose, I think JsonGlib would …

Member Avatar for _avishek
0
197
Member Avatar for Shashank clic

In order to use pthread_create() you will need to include <pthread.h>. Note that <pthread.h> is available only for POSIX systems.

Member Avatar for nmaillet
0
109
Member Avatar for Gaiety

Have a look at this article; it may be of help: http://ubuntuforums.org/showthread.php?t=947124

Member Avatar for _avishek
0
638
Member Avatar for billionair

I'm using Linux, so I can't try out DOS commands, but from what I recall both "date" and "ipconfig /all" are valid commands. Maybe I'm nit-picking here, but the OP's heading makes the question a bit ambiguous as to which command is giving the error.

Member Avatar for Ancient Dragon
0
781
Member Avatar for garima.nanda.50

>You need to use your imagination. I agree with Squidge, you really should use your imagination -- it's a lot more fun then! Whenever I'm trying out a new bit of technology, I always make an application called "Ye Olde Pirate Shoppe", be it a desktop app or a web …

Member Avatar for JameB
-1
169
Member Avatar for pilly

I think you need to prepend the keyword "extern" in line 10 of globals.h like so: extern SDL_Surface* screen = NULL; I also think that you need to prepend "extern" before the declaration of all the other global variables in globals.h.

Member Avatar for _avishek
0
457
Member Avatar for chai1234
Member Avatar for I_m_rude
-1
78
Member Avatar for mrnutty

> Now, let me tell you a little secret about 'Being happy' "You are what you think. All that you are arises from your thoughts. With your thoughts you make your world." -- The Dhammapada

Member Avatar for _avishek
0
216
Member Avatar for rithish
Member Avatar for _avishek

My understanding of the C language is that the same identifier cannot be reused. However, the code below compiles on GCC without complaints, even when using the "-Wall -pedantic" flags. Is there something that I am missing? Does the standard say anything about functions/macros having the same name as typedef'd …

Member Avatar for _avishek
0
232
Member Avatar for ronnel09

You can use a single call to scanf() as follows: int x, y, z; printf("Enter 3 integers separated by a space:"); scanf("%d %d %d", &x, &y, &z);

Member Avatar for deceptikon
0
226
Member Avatar for shanki himanshu

You will get 100 if you change your printf() call as follows: printf("\n%.0f", *pf); The reason you are not getting 100 with your printf() call is essentially because computers represent floating point numbers and integers differently. The IEEE single-precision floating point format represents a floating point number as a 24-bit …

Member Avatar for _avishek
-1
117
Member Avatar for chandnigandhi

@rithish: Have you checked the URL that you have posted? It hardly seems to have any relevance to the poster's question. @chandnigandhi: Since you are talking about a mini project, I would suggest you start out by thinking about some problem relevant to your daily life, and then developing a …

Member Avatar for np complete
0
176
Member Avatar for tkdlady

Although it wasn't asked for, I would imagine that a backslash [icode] \ [/icode] would be required to terminate all but the last line. I would also imagine that two terminating curly braces [icode] }} [/icode] would be required on the last line.

Member Avatar for tkdlady
0
170
Member Avatar for _avishek

Hello, world! This is my first post on DaniWeb, though I have frequented it quite often. I'm using gcc and make (on Ubuntu 10.10) with GVim for creating a foundation library in C. Within my code I've built in rudimentary profiling and assertion policies that are enabled through a symbolic …

Member Avatar for _avishek
0
590