Home > C Programming

C Programming

C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
Ask Question About C Programming
if and else both true at the same time?
if(condition) { printf("Hello"); } else { printf("World"); Is it possible to print Hello World??
answer(10)  view(368)  status(wait for best answer)
Reading a post cgi
Hi I have a problem in reading data from stdin from CGI Code: char *postdata; postdata = (char*)malloc(clen + 1); int ret = fread(postdata, 1, clen, stdin); The problem is... When the user types &...
answer(313)  view(545)  status(wait for best answer)
adding function to the library
i have made a function void display { printf("romit"); } i compiled the function and added it to maths.lib using tlib maths.lib+h:\tc\bin\disp.obj then i used this function in another file with the following code #include ...
answer(0)  view(3)  status(wait for best answer)
select() and socket lists
I'm building a socket list using the common tools of FD_ZERO and FD_SET. The list must be rebuilt before each select() call. The concern I have is this-- with a server, you may have a large number of sockets to add to your fd_set. In fact, thi...
answer(0)  view(4)  status(wait for best answer)
Sometimes in Turbo C System Crahes .. Why??
dssdsdsds
answer(0)  view(4)  status(wait for best answer)
Recording phone call API
Hi all, I want to make phone call recording software, the phone is connected to a Voice message modem (an example of such soft is http://www.teley.com/products/phonerecorder/ ). I dig on Google and find something called TAPI, but I'm not ...
answer(1)  view(857)  status(wait for best answer)
why do I get this below warning when I run the Klockwork, ? thanks in advance!
----------------------------------------------------------------------- sprintf format specification '%4d' expects type 'int' for 'd', but parameter 4 has a different type 'unsigned long int'. ----------------------------------------------------...
answer(1)  view(6)  status(wait for best answer)
write the program in C language for implemting the utility similar to "Ping"
write the program in C language for implemting the utility similar to "Ping"
answer(0)  view(11)  status(wait for best answer)
C++ Builder 4 (array of TCheckBox)
Another question regarding the C++Builder enviornment.... I have a GroupBox I want to fill with a certain number of checkboxes. The number at runtime may be different depending on the number of users. In order to save time (and typi...
answer(7)  view(792)  status(have the best answer)
System crashes
some times we run a c program in turbo c compiler ,the system crashes...why it happen??
answer(11)  view(853)  status(have the best answer)
how to execute ms-dos command in turboc C?
I want to execute ms-dos command in turbo c. for example:execute PAUSE cmd. I have used system("pause"); but this is not working. suggest me easily.
answer(0)  view(9)  status(wait for best answer)
computer guessing game
As another example of the use of dynamic data structures, consider the guessing game sometimes called “Animal”. This is a popular computer game in which the computer attempts to guess the name of an animal by asking questions with &#...
answer(0)  view(11)  status(wait for best answer)
to find maximum in 'n' numbers
main function part
answer(0)  view(17)  status(wait for best answer)
error C2065: 'IDD_DIALOG1' : undeclared identifier
How come I got the following error when including my dialog1.h file twice in separate files. The compiler brakes at: class CDialog1 : public CDialog { // Construction public: CDialog1 (CWnd* pParent = NULL); // standard construct...
answer(3)  view(675)  status(have the best answer)
how to check if user input is int or float?
plz give me relavant solution
answer(0)  view(24)  status(wait for best answer)
while porting C source from solaris to RHEL5.5 facing issue liking to library libstreams and libgen
Unable to build the source successfully, reason could be the few routines of libgen are not available under /usr/lib. Looking for possible work-around for the issue.
answer(0)  view(18)  status(wait for best answer)
tc
when i compile simple print "hello" it show zero error but while run it show error as: Linker error: unable to open file 'C0S.OBJ'
answer(0)  view(15)  status(wait for best answer)
C# export xls to dataTable
Hello I need to export an xls file to a dataTable, I alread got an oleDB connection with the file (this is working): Code: connString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source='" + path + "';Extended Prop...
answer(4)  view(1,254)  status(wait for best answer)
Window messages by number
Can anyone tell me which window messages (ie, starts with WM_) correspond to #'s 70 and 71? I've been looking and I can't find a list anywhere that I can look them up by number. I even pulled down my old copy of Petzold's Programming Wind...
answer(4)  view(900)  status(wait for best answer)
C source for preg_match and preg_replace
Does anyone know where I can find the C source for the PHP functions 'preg_match' and 'preg_replace'? I need to use those two functions in a C program that does not have access to any outside PHP functions. Thanks, Chris
answer(2)  view(930)  status(have the best answer)
Inserting pictures into a textbox - C++ (preferably borland c++)
Hello, Well i need a suggestion on how i can insert pictures into a Textbox (it is for the emoticons purpose in a chat application). I just want to know how it is done in C++. In one of the chat application i made before (it was in V...
answer(1)  view(322)  status(wait for best answer)
net send thread
net send seems to be a hot topic as of late and i am tired of seeing people use the system call to do all the work. it is not robust at all as access can be blocked to that file. i figured i'd post my net send program here... this runs from...
answer(5)  view(665)  status(wait for best answer)
Voting using C++
Ethiopian Election Commission conducting election in Ethiopia. The students of Hawassa University are going to cast their vote in University. For that the Commission created two voting booth for male and female students. Assume that there ar...
answer(0)  view(35)  status(wait for best answer)
How can I store images in an array using the gaming library Allegro so that I can sort them in order and display them?
Is it possible to do so or if not how can I do something like? I am looking forward to develop a card game so that I can display the 52 cards at random!
answer(0)  view(26)  status(wait for best answer)
What is the purpose of the indirect refrence "*"?
I do not know what to put here.
answer(0)  view(30)  status(wait for best answer)
C++ Questions
1.Write a program that reads in five integers and determines and prints the largest and the smallest integers in the group. Do not use the array. 2.Write a program that inputs a five digit integer, separates the integer into its individu...
answer(10)  view(1,053)  status(wait for best answer)
Has anyone ever heard of the IKM C++ test?
(Formerly known as the TeckChek C++ test) If anyone has ever heard of this, what do you know about it? I've googled and it hasn't given me too much. Funny thing: a 31/40 seems to be a 98 percentile. Anyone that knows the test know if ...
answer(4)  view(1,859)  status(wait for best answer)
A palindrome is a string that is spelled the same way forward and backward.
A palindrome is a string that is spelled the same way forward and backward. Some examples of palindromes are: “radar”, “madam”, “tenet”, “kayak”. Write a function called testPalindrome that return...
answer(1)  view(41)  status(wait for best answer)
Display output is wrong.
Hi I am using int. c prog. and just sum two values. But Output is always display wrong value. Like : int a = 10, b = 15, c = a + b ; printf("%d",&c); OUTPut -16 or other. What the reason this output shown. Regards, ...
answer(1)  view(32)  status(wait for best answer)
how to animate a circle in c-language
ow to animate a circle in c-language
answer(0)  view(41)  status(wait for best answer)
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved