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.
Application
Tools And Utilities
Remove
Platform
License
Any
let me see if i understood
if i have some c++ code and using unix system a call back function would be a system call.
code is more like pseudo-code
#include
using namespace std;
int...
The compiler switch for windows should be #ifdef _WIN32. I have no idea what the equal one for unix is.
hi
i want to a write performance profiler in c .. i have no idea of how to go about it . any suggestion's would be helpful for me..
thanks
I recently began teaching myself C with the help of a book called "C Programming for Absolute Beginners". In the book it has you download a Unix command prompt which is where it tells to you make all...
: This message was edited by IDK at 2006-8-28 2:43:22
: : Note that C99 is just a draft standard and not many compilers support it. Correct me if I'm wrong, but I doubt that 'man' would refer to...
This message was edited by IDK at 2006-8-28 2:43:22
: Note that C99 is just a draft standard and not many compilers support it. Correct me if I'm wrong, but I doubt that 'man' would refer to C99?...
Hi All
I am trying to make a shared library from a pro c program program.pc and its function is called from another program abc.c. I am able to generate program.so file but in the program.pc file...
: : : : Hi Folks, as a lifetime unix coder I have been asked to port a fairly
: : : : simple C application to w2k. I have little idea where to start. Should I get Microsoft Visual C++ to compile...
#include
main()
{
char str;
str="doggy";
printf("%s\n",str);
}
When I compile this code using gcc compiler (in a Unix system) it displays a "incompatible type of assignment"...
0)
{
...
signal(SIGINT, SIG_IGN);
waitpid(pid, &status, 0);
signal(SIGTSTP, SIG_DFL);
...
}
for part 1, you need to figure out what was entered, so parse the input. to break...
Ok i think i sorta figured out Part 2, but part 1 is still giving me problems. Someone told me instead of using a alarm handler i have to edit the string, whatever that means lol.
0)
{
tmp = DirectoryName.substr(spot+1, DirectoryName.length());
}
else
tmp = DirectoryName;
if(tmp == "\\")
{
cout
Hi!
Im doing some C programming in both Unix and win. In unix i use gcc and
in win djgpp. Now i wonder about makefiles in dos. When i installed DJGPP it didnt folow any make.exe or something....
: hello
: i am writing a simple net program code on linux and i want to compile it on windows system but the windows c++ compilers (like gcc,borlandc++,visualc++) don't include some of linux header...
: : I'm using a Unix environment. And this is the tutorial I'm having a problem.
:
: #include
: #include
:
: void main() // main must return int
: int main()
: {
: double...
I just found the numbers, forgot it gave a c include file if I wanted to program this in c. Thanks for all the help!!!
There is no { after the if, and you may be missing some }'s in that code.
About GCC: Most GNU programs assume you know what you're doing :). GCC is normally installed by compiling it with another...
: Say I have something as simple as this:
:
: #include
: #include
:
: int main()
: {
: int num = 8;
: char temp;
:
: itoa(num, temp, 10);
:
: return 0;
: }
:
: It still gives me that...
Using C on UNIX machine to run system calls. Syntax problems killing me. Anyone have some sample source code showing how the sys calls (i.e. execvp, etc ) can be invoked (succesfully) in C? Man...
I have an opening for a UNIX Stsyems Programmer (minimum two years experience) with Solaris or AIX background. Experience with C (C++ or Java) neccessary. Experience with Shell programming also...