Thanks alot vart!
Type: Posts; User: kriss332
Thanks alot vart!
hello. I am studying C from "C programming-A modern approach" by 'KN King'. I am stuck at structures topic while he tells about a function, using which we can pass & assign the elements of structure....
Thanks Oogabooga, I was thinking that I am asking for something stupid. But you are awesome like always... thanks alot.
Hello to all.
I created a C program that extracts some information from computer and displays it on screen. It is completed today and is going to be applied to startup programs of domain...
yes, you are right oogabooga. But It didn't click, since I've been using these loops only throughout the program. fscanf is much more better. Anyways after finishing the complete project, I'll post...
Hey guys I found the way out. It is very strange but worked.
when I converted the value of each char variable to integer just after finishing its assignment, it gives correct value. Whereas till now...
Well, I used || in place of | . Further as said, I put a '\0' at the end of each separate array as follows: (for example take lines no. 19-25 as per corrected indentation by vart).
...
It is time to go to bed. Will come online after 12 hrs. Guys, somebody find some solution...
Sorry, the above code just messes the execution. Here is the correct code.
int main(void)
{ FILE *fp_av_dt; int ch_av,n=0,n1=0,n2=0,n3=0,i=0,iday1=0,imon1=0,iyr1=0;
...
#include<conio.h>
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<ctype.h>
int main(void)
{ FILE *fp_av_dt; int ch_av,n=0,n1=0,n2=0,i=0,iday1=0,imon1=0,iyr1=0; ...
Hello friends,
I have been struggling with this problem of atoi function since yesterday evening, but no escapes. I created a program where two functions are: 1- Find the no. of days since OS...
What I have planned at last is to have another .exe to be run as a logon script (after startup script gets finished through Group Policy). Since startup scripts run with admin privileges, it will be...
Thanks Oogabooga. What I was planning today is that I have already written 5-6 lines to a final output.txt file (after filtering data from 5 files). If I write a .bat file using this script and at...
Hello to all,
I have some requirement regarding implementing a C program .exe to implement on Domain computers as a Startup/Logon script. I created a C program which is meant to be run on...
UPDATE: There is no <ncurses.h> with my compiler. I guess it is time to switch to Pelles C or Borland C++ 4.52
hello adak! The above code isn't working with my compiler. May be Dev-C++ library problem. I guess I'll have to get Pelles C. Could you pse provide a legitimate place or site to download it......
Thanks , I'll just check these codes & let know.
Hello to all,
I am currently using Dev-C++ 4.9.9.2 compiler for creating a C project. I need few strings to be printed in a different color. Code:
#include<stdio.h>
#include<conio.h>...
Thanks 'grumpy'. A nice guidance. But I have not completed C program learning completely yet. And Win APIs are abit far for me now. I have already enough burnt my brain struggling with strings and...
Hello to all.
I searched alot for this issue, but couldn't find an answer.
My requirement is to open few files in a C script that will be used to collect data & then display on screen.
I...
Thanks to all of you. I have started sneaking into winprogramming through winprog. ceems to be quite complex as of now. Also starting to get look at GTK. Malcolm! do you have any link to a good...
Thanks alot stach. I will get GTK+ for windows, since I have to produce a C program for windows machines. Thanks for help.
Thanks stach. Could you plz provide link to any article on GUI's for C (known to you)?
Any suggestions for getch() & getche() functions? Which header file to use? I am using Bloodshed's Dev-C++...
Hello to all...
I am in the process of learning C language and not an expert programmer. I created a C script that displays a machine's statistics on the screen. Now whole program is ready and...