Details
-
SkillsPython, Swift, C++, Java, Embedded C, MPASM, VHDL
Joined devRant on 6/10/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Question: How many people on here agree with the following statement - Engineering requires sacrifices in the form of compromises and estimations to be made for the sake of developing a product that is practical3
-
Love the craic of running a performance test that takes 30 minutes a time just to test one or two lines worth of changes 🙃4
-
ATTENTION UK NATIONALS:
We need your help to protect the peace in Northern Ireland, please sign this petition to demonstrate against the governments attempts to block MP’s from stopping a no deal Brexit which could (and some have argued already has started to) result in a ramping up to terrorist actions by the NIRA, RIRA, UVF, UDA and other groups -
https://petition.parliament.uk/peti...12 -
Great how I’ve just started a new job, haven’t been given all the licenses I need to run the software, there are multiple products with little to no documentation (and by none I mean the word “Architecture” is all there is in one of the main products ReadMe file) and I’ve a year of this! How is a company that’s this big not in any way documented like! This is gonna be long 😑2
-
See if one more fucker turns to me and suggests I start a company to “Help with the smart border after Brexit” I swear to fuck I going to personally go to 10 Downing Street and stand in the cabinet and shout “Technology is not literal magic” until Boris Johnson finally gets it5
-
Unrelated to programming but anyways: It’s great how you can go on a date with someone, message them a bit after that you enjoyed it, have them respond they enjoyed it to and then when you ask if they would like to do something again at some stage they read and don’t reply 🙃 Even a firm no would have been nice9
-
RIP Good Friday Agreement, the peace and prosperity was great 👍 Boris Johnson will be the prime minister to destroy the union8
-
It’s great how HR tells you to report to work on your first day to your line manager, but also tells you to attend training in another country before you start working, BUT they don’t tell you when the training is, how stuff will be paid for, or how to contact anyone in the company to find this info out5
-
Stackoverflow is full of pedantic cunts who can’t admit they don’t know how to answer your question, I just spent 20 minutes having 4 people tell me because they didn’t have “the full code” they couldn’t help with the problem, despite by the end of me posting more and more (completely unrelated) code they were LITERALLY complaining because I hadn’t added fucking “#include” statements 😑7
-
Stack overflow is full of useless assholes, like I asked a specific question about a problem I am having that is similar to another problem that exists but it is not the same at all in terms of how to fix and instead of helping I’ve got 2 downvotes on it and a comment linking me to a completely unrelated stylistic based question based on something I SAID I HAD ALREADY TRIED CHANGING IN MY QUESTION!!! Here’s my question btw in case anyone can help here before I smash up my laptop 😑:
I have a piece of code in which I am trying to read in words which have been categorised using a number and then placed in a text file in the following format "word-number-" with a new line for each word. However, despite not mixing cin>> and getline and having tried a number of methods I still cannot get it working.
So far I have attempted using a cin.ignore() call to clear any '\n' char's from the buffer, as well as checking if the file is opening in the first place (it is), and using the >> operator instead throughout my code however I could not get that working either. When I place the get line call inside the condition of the while loop, the while loop doesn't run, however when I make the while loop condition a .eof() call it will run once however when I try to print the text that has been read from the getline call it just prints a blank line.
if(file.is_open()){
while(!file.eof()){
getline(file, text, '-');
count++;
cout<<count<<endl;
cout<<text<<endl;
if(count%2 == 1){
wordBuff = text;
}else if(count%2 == 0){
if(stoi(text) == wordClass){
wordList.push_back(wordBuff);
}
}
}
file.close();
}
While I recognise there are a lot of other questions on this out there I cannot seem to get any of their solutions to work and the vast number being related to people mixing the >> operator and getline doesn't help, so any tips or solutions will be of great help -
Why the fuck is it not possible to pass a pointer to a multidimensional array in C++? Like who the fuck though a pointer to a pointer to an array was an elegant solution? I still can’t get my head around how to access the fucking array!!! And this is for a project too that solves poisons equation using the finite difference method none of which was EVER explained!!! Does anyone have a clue about this??????
-
To have passed my first 2 years in Software and Electronic Systems Engineering and have a good placement lined up for the 3rd year 😁
-
!rant
Q: Why’s it called back end development?
A: Because all you ever get from it is absolute shit1 -
Code::Blocks, because why make it look nice, bother having any auto-complete functions, actually ensuring all of the built in C++ functions work and not having the need to sometimes have to be closed down and restarted to build and run the code 😤1
-
A lecturer for an Embedded Systems module who gave out drivers for an LCD display with no documentation at all, and about 4 functions for writing to the display and 3 initialisation functions, spent ages trying to actually decide what each function did by which memory addresses it was changing and how (made even better by the fact a good bit of the functions were written in Assembly since it was Embedded C)🙃
-
Do you ever wonder why the UK public sector has such a bad computer system? This! This is why!!! What a frigging waste of money!!!! Every computer in the school has this stupid set up!!!19
-
Apple, next time you want to get me to upgrade my file system, please FUCKING TELL ME IT WONT LET ME INSTALL WINDOWS USING BOOTCAMP, 9 hours and I’ve only just found the file system that will let me run Adobe Cloud and Windows
-
Bit of advice people, ALWAYS pay for the privacy option when registering a domain, I bought this yesterday, I have already emptied my spam box, and yet still they somehow get through1
-
Second fecking time since January, I thought these things were meant to be "low maintenance"! (Though in fairness this time is sort of my fault, I may have accidentally edited the MacOS Python files instead of the downloaded ones)undefined reinstall i hope this fixes it beta version test software oops may be my fault this is all because of coreaudio fuck coreaudio python macos2
-
StackExchange- the place you go when you have a valid question in any academic subject if you want an answer that includes being told how stupid you are for not knowing it
-
Does anyone on here have a clue how to install Slime on emacs 25? Like I don't think I've ever come across a more awkward piece of software and set of instructions ever
-
Finally got 3/5 offers from my choices for uni in and it's just so difficult to decide which ones to put down as my firm and insurance (((Computer Science MSc, Physics MSc, Software and Electronics Engineering BEng)-At Queens University Belfast)((Computer Science and Electronic Engineering MEng, Computer Science and Physics BSc)- University of Edinburgh))
-
I absolutely hate Sage, it's like getting stabbed repeated to then discover the previous stabbing didn't actually do anything so you have to get stabbed again, like why can I not just export a whole ledger at once? Why do I have to do it a page at a fucking time?
-
Can I just say fuck Xcode? How the fuck have I been working on an app for over 3 hours and only now when I do the first compile do you feel like showing me an "Internal Error" message which has caused all of the buttons, labels, text and just objects in general to disappear4
-
Dear the devs at Danske Bank UK,
For the 4th time in 5 years I am going to send a error report to you and get my local branch to directly email you to complain about the lack of being able to see anything on my ISA on online banking, plus just fucking fix it,
sincerely Hidden3 -
Amazon may now be my favourite internet company out there with what they've done in the first 8 minutes of The Grand Tour
-
Here lads quick question, would a 0.3GHz processor speed bump really make that much of a real world difference in a skylake i7 processor?
-
I just felt like saying as I'm not sure how prevalent this is but the reason I got into computing and programming is essentially this, I want to change the world and make a better society and to quite frank I honestly believe that what you make and it's impact on people is far more important that your personal character5
-
A school computer system that didn't have any sort of boot protection, at all, like I was able to access certain files on the school system using a USB stick (course I didn't copy or look at them, that would just be unethical)