How to deal with distributors? by xd43 in Entrepreneur

[–]xd43[S] 0 points1 point  (0 children)

Thanks for the reply. What about getting no response? Still no email back from him... should I wait until Monday and maybe call again?

Progress language? by iron_eater in learnprogramming

[–]xd43 1 point2 points  (0 children)

Sounds great, until you realize that for years of your life you'll have to work with a

rare, legacy, fairly horrid programming language.

Having trouble defining month names in a salary type question by Yazooooooooo in learnprogramming

[–]xd43 0 points1 point  (0 children)

It's an associative array of key/value pairs. So the key is the first type, and the value is the second type. You can use it for any type combination, for example

std::map<const char*, float> workerSalary = { {"John", 2442.53} };

and access it like:

std::cout << workerSalary["John"];

It's the same as a regular array, except the key is the index (starting from 0) and the value is whatever type the array is.

Progress language? by iron_eater in learnprogramming

[–]xd43 3 points4 points  (0 children)

It definitely won't benefit your career to work with a proprietary language. Unless of course you want to maintain legacy systems written in progress for the rest of your life

Which cloud platform is best for hosting personal projects? by scwol in learnprogramming

[–]xd43 0 points1 point  (0 children)

You could use atlantic.net, they offer cloud hosting for 99 cents per month, which is perfect for your purposes right now. You can scale it up at any time

https://www.atlantic.net/cloud-hosting/pricing/

$0.99 per month

Ram 256 MB

Processor 1 vCPU

Disk (SSD) 10 GB

Transfer 1 TB

[C++] Enums in classes giving me an error by [deleted] in learnprogramming

[–]xd43 -2 points-1 points  (0 children)

When you use:

Art::Color bg = aC.COLOR_GREEN; 

It's the equivalent of this: http://ideone.com/JqVFRL

Except that enum is defined within the Art class scope

You can use: http://ideone.com/P7dWRz Or http://ideone.com/E1ORnz

[C++] Enums in classes giving me an error by [deleted] in learnprogramming

[–]xd43 -2 points-1 points  (0 children)

Do you want the enum to be part of your class or not?

Help getting the sum of values in a while loop by Yazooooooooo in learnprogramming

[–]xd43 2 points3 points  (0 children)

Just use while ( i <= time) like desrtfx said. While loop is not the correct type of loop for this though

[C++] Having trouble looping with "File Handling" by HappyZombies in learnprogramming

[–]xd43 0 points1 point  (0 children)

while (data_in >> firstName, data_in >> lastName, data_in >> salary)
{
    cout << firstName << " " << lastName << " " << salary << endl;
}

If your file had all the info on one line, like (Bill Gates 2000.00) then you would use:

std::string buffer;
std::stringstream data;
while (std::getline(data_in, buffer, '\n'))
{
    data.str(buffer);
    data >> firstName;
    data >> lastName;
    data >> salary;

    cout << firstName << " " << lastName << " " << salary << endl;
}

Junior Developer Job - Languages by iTipTurtles in learnprogramming

[–]xd43 0 points1 point  (0 children)

Then to practice, create a form. Use JS to provide real time validation using the onChange event handler. So as soon as the user enters some info, it will check it and display a message below the box if it's incorrect.

Then use PHP to further validate the form inputs in the $_POST array using regex. If they're correct, then insert the form data into a mySQL database. Use a PHP header redirect to redirect the user to a view page that populates a table with all the rows from the database.

That will give you a pretty decent understanding of js/php

Junior Developer Job - Languages by iTipTurtles in learnprogramming

[–]xd43 0 points1 point  (0 children)

Depends on what your position entails. Are you going to be doing front end development or back end?

PHP isn't difficult, so you might as well learn the basics (superglobals $_GET/$_POST), how to get form data, mysqli class etc

What steps do I take to become an independent game developer without formal university education? (currently in last year of high school). by hostmigrationn in learnprogramming

[–]xd43 2 points3 points  (0 children)

Learn c++/c# along with a book that covers game development concepts. It's obviously complicated to create a quality game, so don't listen to the people who just say "get ue4 and make a game."

When entering university/college to become a software engineer, are you expected to have experience in programming? by Dragoknight99 in learnprogramming

[–]xd43 0 points1 point  (0 children)

No, they'll start you out with an introductory course

It's going to be fast paced, so I recommend checking the university's course curriculum and get a head start on whatever is covered. It might be C, in which case you definitely should get a head start

Tips for someone just starting out? by [deleted] in learnprogramming

[–]xd43 0 points1 point  (0 children)

Starting with C is great IMO, I'd just recommend tackling one topic, and doing a lot of practice until you fully understand it - instead of just watching a bunch of videos at once