Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SwatiA

    Microsoft Developer Studio C++

    Deleting the .NCB worked apparently. But dont know what happened technically. If some one has a deeper knowledge of the subject and can explain what just hapened, it will be apprecited. I mean what is a NCB file and why was it stopping the class view etc)
  2. SwatiA

    Microsoft Developer Studio C++

    I am using "Microsoft Developer Studio" for compiling my c++ programs. Can any one shine some light on what the following error message means: "Can not recognise the current class view information(.NCB) file format. Would you like to overwrite the file?(yes, no)" "Can...
  3. SwatiA

    Can anyone make this C program simpler

    taking hint from jamisar(Programmer) I changed my program to: #include<stdio.h> #include<stdlib.h> #define MAX 5 void main() { char * s=NULL; int i=0,c; int j=MAX; while( (c=getc(stdin))!='\n') { if (!s) { if(!(s=(char*)malloc(j))) exit(1); } else if ( i== j-1) {...
  4. SwatiA

    Can anyone make this C program simpler

    thanks for the response. The response by jamisar(Programmer) has been helpful. Swati
  5. SwatiA

    where can I get a free download for C compiler

    Hello , I am a beginer in C programing. Is a C compiler available for Free download on the net? I am currently using MS visual C++ suit to compile my programs. I want a dos window compiler......from where I can give command line parameters. Is there any way of giving command line parameters...
  6. SwatiA

    Can anyone make this C program simpler

    #include<stdio.h> #include<stdlib.h> #define MAX 5 /* to take a string input of unknown length from the user and print it*/ void main() { int i=0; char *s; s=(char *) malloc(MAX); if(!s) printf(&quot;memory not available\n&quot;); int c; while (( (c=getchar())!='\n') && (i < (MAX-1) ) )...
  7. SwatiA

    pls debug this issue in the following C program

    /* atof: converts string to double*/ #include <stdio.h> #include<ctype.h> #define MAX 10 double atofi(char s[]); main() { char s[MAX]; printf(&quot;pls enter the string you want to convert to a double\n&quot;); scanf(&quot;%s&quot;,s); printf(&quot;%f&quot;,atofi(s)); } double atofi(char...
  8. SwatiA

    pls debug this issue in the following C program

    hi tdagod, yes, the code is s [ i] in place of s. I had cut and paste the code onto this forum ,but the s [ i] 's did not get copied properly. the original problem still persists. swati.
  9. SwatiA

    pls debug this issue in the following C program

    I am trying to compile a C program named &quot; atof&quot; (ref: Kernigham ritchie,second edition &quot;The C programing language&quot;, pg 71). using a microsoft visual c++ compiler - version 6. THe problem which I am getting is that when I compile and run the program for the value 1.234 (of...

Part and Inventory Search

Back
Top