I always used switch case while doing these and it really makes it real easy.
Type: Posts; User: meadhikari
I always used switch case while doing these and it really makes it real easy.
Decomposition has really helped me a lot.... may it be that I am currently learning the language and my programs are pretty small. I think no one should ignore that thing
Splitter Its working fine.....
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <cstdlib>
#include <vector>
using namespace std;
int main(int argc,...
The splitter is working but the only problem is when the file is big.....
I receive a error saying segmentation failiure
Having problem storing size of large file
What data type should the length...
I am having problem with seekg in pointing to the start of the file and getting a chunck out a file
please help me on this
I made it to this much please help me from here
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main(int argc, char** argv)
I think I do not know that much of file I/O then.
Its not assignment sort of thing, I just want to do it to learn so where I must be heading now?
I just wanted to do a project on the topic.
What would I have to learn to complete this work.
Which topics to cover?
I have recently completed a book OOP in C++ by Robert Lafore.
Thanks for the solution.
But what header file and what data type will make me print this to 1000 decimal places.
just i want "what header file and which data type" please help me
#include...
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
int n;
cout << setprecision (100) << (12*atan(1/49) + 32*atan(1/57) - 5*atan(1/239) +...
Please can anybody teach me in baby steps on arbitrary precision math library
i do not need the files but just the name of the header file and syntax of the function to be used.
I need some 31 digits and the above code turned wrong and the right thing to use that i found was
4*(4*arctan(1/5)-arctan(1/239))
but how can you use this arctan function in c++ what is the...
I want this to display upto 100 decimal places what can I do.
Please help me...
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
@grumpy just lets not be illegal just to show that any way I have the book by Lafore by my side now.
@grumpy What are you talking about could you please be clear on that
Thanks for The book, Just got it hope it feels as you said
I am currently doing my second semester in Software Engineering. Recently I have been introduce to OOP and I am referring to book by Timothy Budd Introduction to Object Oriented Programming but the...
Thanks for the solution I was such a dumb not to know that thing but it was my first time in linux and C++ combine
When I type g++ in my shell it replies no input files
this makes me think I have g++ installed but
when i type g++ example.cpp it displays
isostream no directory or files found
cin not recognized...
while (xr >= 0){//if xr>=0 here
printf("enter Force and centriod separated by a comma,\n");
printf("enter 0 for centroid to finish.\n");
scanf("%f %f", &fr, &xr);
force = force + fr;
x =...
Can not the problem be solved by using "pointer char String" and "loop+array" to display 5 character
Just bought Addison Wesley OpenGL programming language guide 7th edition Hope it will help too
After a thorough study of the two thing I will be choosing to go with OpenGL I loved it open standard and cross platform thing...
Lets get started into it
I want to get deep inside to Graphics in C. Where to start from which books are best to begin graphics with and also how far can we go with graphics
It took me six months to really stand out fro the basics in C but it I think it all depends on your intrest