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 2133
 
How to get substring in C
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...
Hi,    Please provide me the ftp or web site names which offer free  ebooks 'C', 'Data Structure', 'Graphics in C', 'Assignments', 'Socket programming in C on unix/Linux', etc. thanks & ...
How to printf integer, byte etc in their binary format?
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'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...
How can i get the ascii value of any key such as up and down arrow keys or esc key etc. in c language.
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 ...
how to find square root of a number without using sqrt function
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...
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...
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...
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...
I am looking into building a program which can perform varying matrix manipulations and calculations as well as function as a sort of matrix calculator, at this time I am looking into the best...
I need to write a program that will take a decimal, and output it's conversion in hex, octal and binary.  I know "printf" can do some of the conversions, but that would be cheating so I can't ...
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, Is there any way I can reverse a string without using a temporary variable ? Thanks, Parag.
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 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 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 convert a char to hex? this is what i have done so far: int main() {     char data[15];         scanf("%s", &data);     printf("%x\n", &data);     system("PAUSE");     re...
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...
Can you initialize a multi-dimensional C string array in one statement? Like: char* names[] = {  {"Bob","John","Jim" } , {"Smith","Doe","Johnson" }  }; I've seen a few websites that d...
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
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...