Hi.
I have a file stream in c not c++. What I want to do is return a character from a specific position in that stream.
Example return the 140th character from the stream.
Thx,
Sean
I have to get first and second digit from a number with many digits. But I do'nt know how many digits they are. And to say whether these two digits are divisable by a given number N.
i.e....
I found the anwer to my question but I would really like someone to explain every thing about the answer to me so I don't feel like a leach. The code is included. What I know about it so far...
Hey,
I got some pseudocode that I need to translate, I was just wondering if I could get some opinions to see if I got it right.
My main question is with the "UNION" part of this ...
c FUNCTION NOT WORKING _findfirst
#include<stdio.h>
#include<iostream.h>
void main()
{
int n;
printf("please enter the number");
scanf("%d ",&n);
n=n*n;
printf("The square of the entered number is = %d"),n;
}
When ...
I have the simple C program below in which I wish to merely use strptime() and mktime() to generate a Unix epoch time from a string time. My problem is that on my system, strptime() always add...
Hi,
I want a good tutorial, or someone to point me in the right direction on how I might be able to write C programs that interface the Serial port (/dev/ttyS1) and how i could send AT comm...
Hi.
I want to use create 4GB file, so I use fopen64 function in my application. I create executable with Borland and I get the following error message:
Turbo Link Version 5.1 Copyright (c...
Hi there;
I have a problem while reading the file that is:
I have a file content as:
Aarskog syndrome (4)
Aase syndrome (3)
Ablepharon-macrostomia syndrome (3)
Acoustic neuroma (4)
...
hi,
i am having this error. is there a way to force it to take one of pow.thanks.
print the prime factors and distinct prime factors of an integer. A sample run follows:
Please enter a positive integer less than 50000:
990
All the prime factors of 990 are given below
2 ...
I am new to prgramming and trying to complete an assignment. I have written my program which needs to validate the user's currency input. My program returns an error as required if the user in...
I want to check URLs, for example : http://abc.com/ggg/add.html with C, C++ language.
How to check systax of URL?
Thanks in advanced!
the following code display output as 0xffffffab instead 0xab
how to give width specifier in printf to display only 0xab.
i tried all but none of them worked for me.
Hi All,
I need the source code for triple des implemented in C/C++ with PKCS5 padding.
Please let me know where i can find it .
Here is code I found on EE and modified to add to my ROM mud code to find the MAC address of what I am presuming is the ethernet card of the server my mud is on:
long mac_addr_sys( u_char *...
Good morning :)
My problem is: i want to peep the stack to find repeated words but im stuck and i dont know what i should do or what im doing wrong, btw everything else works except for th...
How can we write a TSR program that will display name in the centre of the blank screen whenever Alt+Ctrl+P is pressed. And whenever Alt+Ctrl+R is pressed your program should restore the previ...
Hi there;
Is it possible to pass a C application result (a string) to Java application?
I mean can C application return an output; a string to a Java application as input(maybe with comm...
Hello Experts,
I need to find the most efficient way to compare two sets of numbers in C and identify patterns.
I have two source files containing a large number of lines of numerical da...
Hi,
When i use F11 to debug my program, when it reaches a printf command then a meassagebox appears saying "There is no source code available for the current location." (im using Visual stu...
Hi,
I am trying to find reasonable solution for problem with compilation of program using pro*C.
When I am trying to compile program I am receiving following error:
gcc -lstdc++ -L/geneva...
hi,
Should I learn C, C++ or C# first? Is it possible to achieve same results from these three languages? Where are these languages coming from (Microsoft, Unix etc.)? Can someone help me?
...
Hello,
I am looking for C open code (algorithms, functions ) for resizing JPEG images.
(For Linux)
THANKS
margarit