I close everything, and opened again. rebuilt all and its working :D thnks
Type: Posts; User: skg29
I close everything, and opened again. rebuilt all and its working :D thnks
I removed the & before fptr. But the file is still empty. The program does not write anything.
Passing file between functions.
In the main, there is a switch case. Option 1 executes Function named Main_Linear_Reg()
#include "Pearson.h"
void Main_Linear_Reg();
void Main_Linear_Reg()...
ok it worked. But how about making it more general. for example i want to build a map with <char><char> where the user inputs the data and decides when to end the loop.
following error:
||In function 'int main(int, char**)':|
12|error: no match for 'operator=' in 'mp[(i + 1)] = 66'|
c:\program files...
I have the following:
#include <cstdlib>
#include <iostream>
#include <map>
using namespace std;
Yes it does work. I did not know about that if. Thanks :)
I have to write a program that takes a series of alphabets and displays the repeating vowels and their corresponding occurrence. The input can be either lower case or upper case. For help, i can...
Okay.
Thanks :D
#include <cstdlib>
#include <iostream>
using namespace std;
struct Student
{
string id;
Line 29 i tried
reci = num e-1 ;
but even 1/num does not work.
No it was not a copy paste. I actually work it out in class on paper for that above question with normal numbers. So i tried...
Here is what i attempted. I was following some slides describing selection and loops.
/* Title: Write a program to prompt the user for an integer and calculate the sum of all the integers
...
How do i use that to calculate in C ? do i just write 1/X ?
I know that to you can represent 1.425 by 1425e-3. Is that correct?
So if i want to do the inverse of a number (assuming X), then X e-1 is the reciprocal of X. Is that correct or i cannot use...
That there were eleven cars BUT in a consecutive row? right? Line 32 confirms if they are counted in a consecutive way. Am i right?
Tried that to no avail :(
Here is a program i am trying to figure out the logic. I can understand the commented lines but then the rest i do not comprehend. Could someone shine some lights.
/* Title: Write a program...
I got that working ;)
#include <stdio.h>
int main()
{
int m, n;
int i=0;
Ok. I will try to figure out the things you said as actually am new to C programming.
Hello there :)
I am stuck on how to use nest while!! This is the question:
Write a program that reads in two integers m and n, and prints out an m-by-n rectangle of
asterisks.
...