Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
7
Posts with Downvotes
6
Downvoting Members
6
6 Commented Posts
0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 17
c x 10
Member Avatar for nirav99

How can i call (execute) a file (with ".c" extention) from the particular path without including it into main file ? Now the file which we have to call from particular path is containing only a function (without "main()").....

Member Avatar for WaltP
0
68
Member Avatar for seo2005

Hi, This has been discussed ealier, but i would like to know how the loop executes 1. #include<stdio.h> 2. #include<conio.h> 3. void main() 4. { 5. int x,y,z; 6. scanf("%d",&x); 7. if(x>0) 8. { 9. y=x/10; 10 z=x%10; 11. x=y; 12. printf("%d",z); 13. } 14. printf("%d",x); 15. } Suppose I …

Member Avatar for pramodsajwan07
0
112
Member Avatar for ch.ankit87

HI can anyone help me to write this programe in c Q ; WRITE A PROGRAM TO DETERMINE AND PRINT THE SUM OF THE FOLLOWING HARMONIC SERIES FOR A GIVEN VALUE OF N; 1+1/2+1/3+14+....................1/N THE VALUE SHOULD BE GIVEN INTERACTIVELY THROUGH THE TERMINAL

Member Avatar for nirav99
0
112
Member Avatar for kavitha1591
Member Avatar for rimmmeee
0
188
Member Avatar for nirav99

I made a program... now i have to put one validation. "while program is executed, if i press "Esc" button (hardly situated in top-left corner) i will be out of my program, means its exicutation directly takes end." i tried by taking its ASCII value but i requires also ENTER …

Member Avatar for mvmalderen
0
153
Member Avatar for nirav99

hello, yesterday i was learning inheritance in C++... My teacher has told me that "Inheritance means using properties(variable,function etc) of one class to another class." but when i do it with example its not working.. [CODE=C++] #include<iostream.h> #include<stdio.h> class abc { int a,b,c; public: void exp1(); }; class xyz:public abc …

Member Avatar for Tom Gunn
0
134
Member Avatar for ynaffit

i tried to create a program that would get the sum of the squares but i couldn't get the right output. Could u help me debug? and tell which part of my codes where wrong.PLEASE! :S [code=cplusplus] #include<iostream.h> #include<conio.h> #include<math.h> int x,num; int f(int); main () { clrscr(); cout<<"Enter a …

Member Avatar for nirav99
0
108
Member Avatar for lotrsimp12345

here's my code, don't see why it doesn't print out [code] #include <iostream> using namespace std; int main() { cout<<"enter a passage into input to find out how difficult it is to read\n"; string passage; cin>>passage; char letter; int space=0; while(letter!='\n') { if(isspace(cin.peek())&&letter=='\n') { cout<<"from space"; space=space++; } } cout<< …

Member Avatar for Nick Evan
0
226
Member Avatar for zeus1216gw

I need some help getting this factorial to work. I don't think I'm getting this to work right since only the first 2 work in the series. I probably could write a function to fix this but there has to be a way to loop it instead. This is what …

Member Avatar for mvmalderen
0
171
Member Avatar for Spagett912

Hello everyone. I haven't started to write the program yet but I have the guidelines to make it. They are : Write a function in assembly language called “factorial” with the following prototype: integer factorial(integer n) Pre-Conditions: “n” is an integer (positive or negative) “n” has been passed in as …

Member Avatar for wildgoose
0
175
Member Avatar for zeus1216gw

I'm trying to write a program in C++ that will tell the user to input 5 numbers and it'll display the largest number and whether it was the 1st, 2nd 3rd...so on entry. any help? this is what I have so far #include "stdafx.h" #include <iostream> #include <math.h> #include <iomanip> …

Member Avatar for nirav99
0
101