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)
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...
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)
{...
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...
#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("memory not available\n");
int c;
while (( (c=getchar())!='\n') && (i < (MAX-1) ) )...
/* atof: converts string to double*/
#include <stdio.h>
#include<ctype.h>
#define MAX 10
double atofi(char s[]);
main()
{
char s[MAX];
printf("pls enter the string you want to convert to a double\n");
scanf("%s",s);
printf("%f",atofi(s));
}
double atofi(char...
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.
I am trying to compile a C program named " atof" (ref: Kernigham ritchie,second edition "The C programing language", 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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.