- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
7 Posted Topics
Re: You might not have much luck. Some of those specs are contradictary... For example, a GTX960m has a TDP of 65W. That means that the battery must provide up to 65 watts of current, and the laptop has to reject 65 watts of waste heat. By comparison, most mobile processors … | |
Re: This is highly dependant on the OS you're targeting and how you're interacting with the console. Anything beyond the standard streams is pretty non-portable unless you use an external library. | |
Re: I kinda forgot what forum I was in (C++/C), but here is a C version of what someone has already done in C++: [code] #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> unsigned long extract_digits(unsigned long x, size_t n, size_t i){ char * buffer; char * output; size_t num_digits; unsigned … | |
Re: [quote=sInFuL69er;367390]Hello, iam having trouble with reading a text file that contains , [ ] eg. 3715,4[9] 4356,3[7,3] [code] char c; int events[12][12];//[row][col] ifstream infile; infile.open("test.txt"); while (!infile.eof()) { for(int j=0;j<12;j++) { for(int k=0; k<12;k++) { if(c!=']') { infile >> events[j][k]; infile.get(c); } else events[j][k] = -1; } } infile.get(c); } … | |
Re: I have a some questions, how is your input filters supposed to work, I see some lines like this: [code] while (( select != 'Q' ) && ( select != 'q' ) && ( select != '1' ) && ( select != '2' )); [/code] If the user enters the … | |
Re: [quote=Narue;365993]>"Triangle with Rounded Corners" ? I do not get it. It's called a joke. Chill out.[/quote] A circle has circumference, but a triangle has a perimeter. (Actually, any closed figure has a perimeter) | |
Re: Here's how I interperted your problem: Given a list of Words and Numbers: --Make a numbered list of the words. --Replace numbers with words from the list. Instead of a console program, I wrote a program that takes a filename at command line. I expect one word or number per … |
The End.