- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I am student and plan on getting a bachelors degree in computer science in the future, I like overclocking and watching anime and like photoshoping a lot
- Interests
- OverclockingBuilding RigsDrawingMangaAnime
- PC Specs
- Windows 7 x64EVGA 790I FTW EditionQ6700 @ 3.5 Ghz4 Gigs @ 1.4 GhzNZXT Guardian 921
Hi, I am looking for some advice here.I have basic knowledge of C++ and regularly write programs in it.I haven't tried anything related to networking in it.I want to start now and I'm clueless about the possibilities.I am novice in knowledge of networks and people have recommended many books but … |
|
Hey guys! i was wondering how some games and software have image files that are accessed from .dat and/or .bin files! can i do this for a C++ program? i tried googling but had no hope so i posted here.. i would also like to know how i can make … |
|
I started reading Programming Windows API 5th Edition by Charles Pretzold and I compiled and ran the first program and it worked fine but this one doesn't work and I have been messing with it and I don't know what do anymore, the problem is line 22 when I run … |
|
Hey guys I basically finished reading Beginning Visual C++ 2010 with Ivor Horton, I skipped the MFC part as I am more interested in the Win API which there's was only one third of a chapter on(not enough) and I was wondering if Programming Windows, Fifth Edition by Charles Petzold … |
|
Hello everyone, I have a small question about the code below, I understand just about every part of it. Except for this small snippet, could someone explain how the loop works? [CODE] while(begin != end ) //<-- I believe the stream iterator is getting input here words[*begin++]++; // <-- I … |
|
Hi, Ive written a program which is capable of sorting an array of ints e.g. array[6] = {4,6,-1,0,6,4} however i want to expand this so it will be able to order chars as well. With my code as it is, it will order chars correctly i.e. sort the numbers out … |
|
I recently took upon myself the challenge of finding the actual subsequence in an array that yields the largest sum rather than just the largest sum. Example - if you enter {3,2,-5,4} in an array, my program returns {3,2}, since that yields the largest sum, 5. I thought myself rather … |
|
My code: [CODE] cout.setf(ios_base::fixed, ios_base::floatfield); plan++; double Annually, Monthly, Daily; Annually = CompoundAnnually (principal, rate, years); Monthly = CompoundMonthly (principal, rate, years); Daily = CompoundDaily (principal, rate, years); cout << setw(3) << plan << "\t"; cout.precision(0); cout << setw(10) << principal << "\t"; cout.precision(1); cout << setw(7) << rate << … |
|
[CODE]#include <iostream> #include <string> using namespace std; int main() { // Variable declarations allowing us to calculate string fullName; int weeklySalary; int weeks; string age; int option; int actualage; int earnings; double savingsPercentage; double percentage; int retirementage; double total; cout << "What is your name? "; getline(cin, fullName); cout << … |
|
[CODE]void cubes(int n) { for (int i=1; i<=n; i++) cout<<i*i*i<<' '; } [/CODE] |
|
whenever u create a string like this... std::string name = "HELLO THUR"; what size buffer does the constructor store the string in when instantiating this string object? im curious thx! |
|
I was wondering if there is a for_each function in c++, I have searched for it on the internet and I cant seem to find a definitive answer, is it in the new draft for the c++x? |
|
I've been having a hard time understanding classes but i've got it mostly down(atleast I think) well below in the code I overloaded the + operator for my class called clr which uses strings, my problem is on lines 59 and 61(strcpy_s(tmp,len,other.buffer);) when I strcpy to tmp the word is … |
|
Hey everyone, My problem is that in my program below I made an indefinite loop for comparing strings and values, my problem is on line 60 & 61, the loop automatically accepts whichever if statement is on line 60 when I test for an uppercase and lowercase char, as soon … |
|
I use Microsoft Visual Studio Professional on my Desktop PC, but my GTX 260 just failed and im dojng an RMA, so I started trying to program on my laptop. I am around 1/3 of the way through Ivor Hortons Beginning Visual C++, the book covers Native C++ and C++/CLI, … |
|
Im doing a code "test" from the c++ book I am currently reading, the objective is to ask for input using a function and output data using a function, while keeping the data in main. I finished it and it works, but I want to make the program not accept … |
|
Hello everyone, I have been programming in C++ for a while although I am not an expert yet, I would like to take a small break and learn another programming language that's a tad easier and I decided on Delphi. I looked for the stuff I need to no avail, … |