C
In computing, C is a general-purpose, block structured, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
Forum Post

Re: which one loop is faster and why?

As per the dis-assembly in the 1st for loop, an additional instruction is required to set the flag if index has reached the 'num' value. Where as in the 2nd for loop, the index can be directly...
Forum Post

Re: Declaring Strings

char a[] = "hello world"; you can that because the compiler knows how much space to allocate for the string "hello world." char a[]; a = "hello world"; C won't allow aggregate assignment;...
Forum Post

Re: Best Book/Resources To Learn C++?

I do not understand your question "in which language compilers are written?". Compilers are EXE files - they can be written in any language. There is no connection between language compiler is...
Forum Post

Three C lines On Borland please

hi all, if someone has the compiler (Borland) , and can try this three lines of C code in it and till me the result , i'll be very thankful !! the three lines are: char a ="ball" ; char b ="zoo";...
Forum Post

Re: "Decompliling" C++ Code? Possible To Get Into An Exe File

You need a good debugger for this. IDA PRO comes to mind, but it cost money. Try to get a trial version - it may work for 30 days or so. Best free debuffer for Win32 is OLLYDBG. Google for it and get...
Forum Post

MAC Protocol packet analysis

Hello everyone, These days I am going to make a program to analyze the mac protocol packets. Also my paper title is related to packet analysis. I wrote some survey papers and this paper also will...
Forum Post

Help! Problem with C codes embeded in Matlab

I have a Matlab file contain a thread 'mex -O SegSegForces.c'. Since there is a file with extension c so I wonder what should I do if I want to run this program? I have MicroSoft Visual Studio...
Forum Post

Output to computer screen from LM3S3748 evb

Hi guys, I've read about Virtual Com Port (VCP) on the LM3S3748 and was wondering how this can be used to output keyboard strokes and write to video memory in a PC running windows/dos. I'm...
Forum Post

Re: Running a c++ game on web browser

make it a cgi file if you are on linux here's a library you can use http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html if you are on windows here's a little tutorial:...
Forum Post

please have a look at this:

plz look what i have tried in GNUCCC and tiny C compilers and failed but SUCCESSED in turbo-c 3.0 :D . plz explain why inp() out() doesnt work in new compilers and works fine in old compilers....
Forum Post

Re: C++ code: Unable to construct "char" and "if else" statement.

the trick is: '%' operator. 10%4=2 , 10%5=0 ,10%6=4 , 10%7=3 10%8=2, 10%9=1 , i havent tried 10%10 :D but it should be like : (123 people)%(8 people per boat)=(3 remaining people on extra...
Forum Post

VISUAL C++ resource.h/rc madness mess

This is really for those Visual C++ 6.0 programmers out there. I have a workspace which builds 3 apps & dozen of DLLs. Each project has it's own resources (resource.h & corresponding RC file)....
Forum Post

HELP!

Hi I am completely new to embedded C programming. In college I have being given the task of programming a pic 18f4620 to switch an LED on and off, simple as that. I really have no clue where to...
Forum Post

hi to all,, please help me..

hi to all.. please help me.. i'm just a new member here in the forum. i hope anyone can help me. I am interested in turbo c,, i just learned simple codes by reading in some books.. i've got a...
Forum Post

Copy an .exe to a new .exe file using C/C++

Let there be an executable file say, t1.exe. If I run t1.exe then it shall copy itself to a new executable file say t2.exe. Code: #include #include #include void main() { FILE *fp...
Forum Post

Re: which one loop is faster and why?

but answer is given that 2nd loop is fast..i don't why there is some condition given regarding flags..
Forum Post

Re: which one loop is faster and why?

Technically speaking these for loops will NOT do the same work, because index has different values (i will never be EQUAL to num in loop #1, but in loop $2 it WILL). The performance in FOR() part...
Forum Post

which one loop is faster and why?

which one is faster 1. for(i=0;i0;i--) assume that no code optimization and microprocessor has flags
Forum Post

Date and time in Dev C problems

Hello fellow c programmers( I made a "hello world" program so I'm a c programmer too :)). Anyway I want to know if there is anyway to make a Dev C program perform an action if it is a certain day...
Forum Post

Problem: ISAPI Extension Add custom header

ServerSupportFunction(ecb, HSE_REQ_SEND_RESPONSE_HEADER, NULL, &dwSize, (unsigned long *)(char*)dicstr.c_str()); Any idea why its happen when i added a custom header? Thanks in advance,...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.