Search:

Type: Posts; User: kriss332

Search: Search took 0.01 seconds.

  1. Thanks alot vart!

    Thanks alot vart!
  2. Help in passing structure elements through function

    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....
  3. Thanks Oogabooga, I was thinking that I am asking...

    Thanks Oogabooga, I was thinking that I am asking for something stupid. But you are awesome like always... thanks alot.
  4. How do I prevent a user from closing output screen during execution

    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...
  5. Replies
    12
    Views
    1,608

    yes, you are right oogabooga. But It didn't...

    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...
  6. Replies
    12
    Views
    1,608

    Hey guys I found the way out. It is very strange...

    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...
  7. Replies
    12
    Views
    1,608

    Well, I used || in place of | . Further as said,...

    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).

    ...
  8. Replies
    12
    Views
    1,608

    It is time to go to bed. Will come online after...

    It is time to go to bed. Will come online after 12 hrs. Guys, somebody find some solution...
  9. Replies
    12
    Views
    1,608

    Sorry, the above code just messes the execution....

    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;
    ...
  10. Replies
    12
    Views
    1,608

    #include #include...

    #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; ...
  11. Replies
    12
    Views
    1,608

    Problem using atoi()

    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...
  12. What I have planned at last is to have another...

    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...
  13. Thanks Oogabooga. What I was planning today is...

    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...
  14. Need to deploy a C program .exe on domain as startup script to display some info.

    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...
  15. Replies
    7
    Views
    1,262

    UPDATE: There is no with my compiler....

    UPDATE: There is no <ncurses.h> with my compiler. I guess it is time to switch to Pelles C or Borland C++ 4.52
  16. Replies
    7
    Views
    1,262

    hello adak! The above code isn't working with my...

    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......
  17. Replies
    7
    Views
    1,262

    Thanks , I'll just check these codes & let know.

    Thanks , I'll just check these codes & let know.
  18. Replies
    7
    Views
    1,262

    Need help on coloured text output

    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>...
  19. Replies
    3
    Views
    1,406

    Thanks 'grumpy'. A nice guidance. But I have not...

    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...
  20. Replies
    3
    Views
    1,406

    How do I fopen a file in %windir% path

    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...
  21. Replies
    8
    Views
    1,075

    Thanks to all of you. I have started sneaking...

    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...
  22. Replies
    8
    Views
    1,075

    Thanks alot stach. I will get GTK+ for windows,...

    Thanks alot stach. I will get GTK+ for windows, since I have to produce a C program for windows machines. Thanks for help.
  23. Replies
    8
    Views
    1,075

    Thanks stach. Could you plz provide link to any...

    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++...
  24. Replies
    8
    Views
    1,075

    Need a Graphical screen for C output

    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...
Results 1 to 24 of 24