Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested C Solutions: 1 - 25 of 852
 
How to get substring in C
as a newbee to c/c++ development, i would like to know, how i can convert a INT number to a CHAR string ? anybody who could help me please ?? thx a lot
Dear All, I'm trying to find out file size for my input text files.Here are steps that I followed. Inputs- 1. A text file at location c:\temp\input_files.txt , this file has list of fil...
As I am  working in Java since 5 years, I started forgetting the concepts of C :(. I am not able to read the binary files such as Word Documents and PDFs into my buffer . I used fopen ...
Dear All, I am developing an application that reads XML file tags. I have a tag e.g <small>rohit</small> the application  reads fine, i.e gives "rohit" as output. But I want to ch...
I will have 2 machines hooked up via the COM1 ports. 1 machine running windows having a hyperterminal session opened and the other machine running Linux having my program running. I want to ...
Hi there! Please this is really important, I need to know the program (codes) to be used in converting Infix to Posttfix and also how to code the needed data for its solution (specially its ev...
How to printf integer, byte etc in their binary format?
how to find square root of a number without using sqrt function
Hey guys...  I need a way to sort a linked list into decending order.   i have: typedef struct person{ char name[20]; int age; char sex; int birthday; struct person *next; }p; I...
Hi, Is there any way I can reverse a string without using a temporary variable ? Thanks, Parag.
Hi,    How do I convert an integer to a string? Easiest coded example will be awarded. I have an integer, p want to convert p to string and send it using the following send command: ...
Hi guys, something i couldn't figure out.... Write a function to reverse the order of words Given a sentence of words in a character array, write a C function to reverse the order of wor...
How can i get the ascii value of any key such as up and down arrow keys or esc key etc. in c language.
Before you ask.  This is school work, saying that I don't want the answer.  I would however like some help in solving my problem.  I know how to convert binary to decimal on paper.  Meaning I ...
Hi I have a little problem, I read in a float  - using basic - scanf("%f",&myFloat);  //example: 0.7 But when I do printf("%f",myFloat); // I get 0.700000 Its there a way I can ro...
How would I check to see if a given file exists? Not necessarily to open it or close it or anything, just to see if it exists.
Hi ... I'm having problems dealing with floating point numbers in C. The app we're developing requires great precision (sometimes to the 20th decimal point). Problem is: When I d...
Hello experts, I'm new to C programming and have minimal experience with the fread and fwrite functions. I'm hoping someone out there can help me to see clearly how they work. Suppose I ha...
Guys (and girls), Two questions.  Basically, I want to design an array of structs in C.  And in these structs I want dynamic string allocation.  I'm having major problems implementing this ...
Hi, I have some problem with pthread.... I use "pthread_create" to create a thread in order to run some functions...I wonder after running through all the functions, will the pthread ter...
Hi I need two simple functions: 1 - Convert Binary to Decimal and returns this value 2-  Convert Decimal to Binary and returns this value Thanks
Hi, Trying to get my head around how to generate all possible number combinations from only four unique numbers. For example: 2, 1, 8, 3 in all possible combinations: 1238, 2138, 3812 and...
I was using fscanf to read in a file and examine each token of this complete file one at a time for the the occurence of a specific keyword.  However I want to read one line from the file. Exa...
The input is an arithmetic expression string ((2+3.5)*2)/4+2  How do we convert this to postfix (i mean about 3.5) How do we evaluate the postfix expression? And finally what do we do in...