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
Search - "c++ and c# :)"
-
Difference between C# and Javascript
Me: Hold my cup of tea.
C#: That's not a cup of tea.
Me: Hold my cup of tea, with two teaspoons of sugar in it.
C#: That's not a cup of tea with two tea spoons of sugar in it.
Me: Hold my cup of tea, with two teaspoons of sugar and milk in it.
C#: That is not a cup of tea, with two teaspoons of sugar and milk it.
...
Me: Hold my cup of tea.
Javascript: I'll hold your cup of coffee.31 -
Interview with a candidate. He calls himself "C++ expert" on his resume. I think: "oh, great, I love C++ too, we will have an interesting conversation!"
Me: let's start with an easy one, what is 'nullptr'?
Him: (...some undecipherable sequence of words that didn't make any sense...)
In my mind: mh, probably I didn't understand right. Let's try again with something simple and more generic
Me: can you tell me about memory management in C++?
Him: you create objects on the stack with the 'new' keyword and they get automatically released when no other object references them
In my mind: wtf is this guy talking about? Is he confusing C++ with Java? Does he really know C++? Let's make him write some code, just to be sure
Me: can you write a program that prints numbers from 1 to 10?
Ten minutes and twenty mistakes later...
Me: okay, so what is this <int> here in angle brackets? What is a template?
Him: no idea
Me: you wrote 'cout', why sometimes do I see 'std::cout' instead? What is 'std'?
Answer: no idea, never heard of 'std'
I think: on his resume he also said he is a Java expert. Let's see if he knows the difference between the two. He *must* have noticed that one is byte-compiled and the other one is compiled to native code! Otherwise, how does he run his code? He must answer this question correctly:
Me: what is the difference between Java and C++? One has a Virtual Machine, what about the other?
Him: Java has the Java Virtual Machine
Me: yes, and C++?
Him: I guess C++ has a virtual machine too. The C++ Virtual Machine
Me (exhausted): okay, I don't have any other questions, we will let you know
And this is the story of how I got scared of interviews29 -
So... A random morning moment:
(c - Cient, m - me)
C: Help!!! Our users are complaining that our website is not working as intended!!! This is crucial!!!!
M: What's the problem? What is not working?
C: EVERYTHING!!!! FIX IT!!!!
M: Could you be more specific...?
C: Look at the bugsnag - it has all the errrors!!!
M: *looks there - no errors* - But... It has no errors...
C: Okay, so client told me he's using Galaxy SII - does that ring a bell?
M: *thinks that I'm fucked* - Asks, which browser?
C: Why do you need it? It's a browser after all...
M: Yeah but not all browsers are the same and I need type and version to investigate...
C: It's Samsung default browser... Last updated 2012 January.
M: Well, tell that user to update the browser, the site is working fine on newer versions...
C: No, you update it.
M: Browser?!
C: Yes, what else?!
M: Of course, I'll fly 3000 kilometres to press UPDATE button on clients phone...
C: Well, he's not doing it himself - he's afraid!
M: Well, that is his problem. Site is working fine for other users with newer browsers.
C: But... He's a client
M: I get it but he's a client that uses 6 years old browser and tries to visit our website. Don't you remember that we ditched IE support on your behalf for the same reason?!
C: Oh... I see... Can you make something that it works with 2005 browsers?
M: Of course... *evil laugh starts* I'll make the website work on EVERY single device EVER - make it plain text.
C: Are you joking?
M: Are you?
----
And since then, we ditched the actual need for supporting users with old browsers that don't update to modern standards... Feels great!12 -
Was doing some work on a server today and removing loads of stuff.
rm -rf file1
Etc
Etc
Etc
Went into another directory with very important data. Wanted to do ls -la but my fingers went:
rm -rf ./
.
.
*1 milisecond later*
😶
FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
CTRL+C
*VIGOROUSLY CHECKS FILES*
Everything still there 😅29 -
Java and C were telling jokes. It was C's turn, so he writes something on the wall, points to it and says "Do you get the reference?" But Java didn't.
C gets all the chicks and Java doesn't? Because C doesn't treat them like objects.
But I think C could at least give Java some pointers8 -
on the first day, He said, "Let there be C." and there was C. on the second day, he added some more so there became C++11
-
OH dear!
I wanted to do webdev backend in C++.
It was cumbersome so I decided to write a library that helps me and OH MY GOD. I have COMPLETELY changed C++ xDD
https://github.com/Wittmaxi/webcpp
(yes, the screenshot is ACTUAL C++ xD)48 -
Job opening tells us that they want someone who knows:
C, C++, C#, Java, VB, PHP, HTML, Javascript, MySql, Postgree, windows, Linux, Mac OS, a degree in computer science and a few years of experience.
What you'll actually do in most of those jobs: Deal with Excel spreadsheets.10 -
Manager: Feature C doesn’t work
Dev: We never built feature C
Manager: Nonsense, I remember feature C clearly!
Dev: It’s still in the backlog
Manager: But we had many meetings about it
Dev: Never got put on the board
Manager: Feature C is very important!
Dev: It was never assigned to anyone
Manager: What could possibly be more important than Feature C?
Dev: All the other features you placed on the board and assigned up until now
Manager: Well I need Feature C done asap! It should be top priority!
Dev: Ok then next sprint add feature C to the board and assign it to someone
*Next planning session manager leaves feature C in backlog in favour of other tickets*
*2 days later*
Manager: What is the status of feature C?
Dev: You opted to leave it in the backlog
Manager: BUT IT SHOULD BE TOP PRIORITY!
Dev: …9 -
Language and their user:
C - programming language of God
C++ - Pagan Deity
C# - Beethoven
Java - Jesus
Python - The Crocodile Hunter
Ruby - Miyamoto Musashi (samurai)
Rust - Da Vinci
JavaScript - Satan
PHP - Justin Bieber23 -
Interview (first job):
Interviewer: So what languages do you know?
Me: Well, i learnd C, C++ and Matlab scripting, but i'm learning C# as a personal project.
Interviewer: Perfect!
First day:
Interviewer(now boss): So, a guy is leaving next week and you will be replacing him. He has 70 projects and you will be responsible for this production test platform in JAVA11 -
I'm developing my "game engine" for over 2 years. 9 complete rewrite and 3 language change (c#->java->c++) but I love doing it. It's an amazing experience :D15
-
WRITE IN C ('LET IT BE')
When I find my code in tons of trouble,
Friends and colleagues come to me,
Speaking words of wisdom:
"Write in C."
As the deadline fast approaches,
And bugs are all that I can see,
Somewhere, someone whispers:
"Write in C."
Write in C, Write in C,
Write in C, oh, Write in C.
LOGO's dead and buried,
Write in C.
I used to write a lot of FORTRAN,
For science it worked flawlessly.
Try using it for graphics!
Write in C.
If you've just spent nearly 30 hours,
Debugging some assembly,
Soon you will be glad to
Write in C.
Write in C, Write in C,
Write in C, yeah, Write in C.
BASIC's not the answer.
Write in C.
Write in C, Write in C
Write in C, oh, Write in C.
Pascal won't quite cut it.
Write in C.6 -
Resume: experience in c, c++, java and Android.
Recruiter: DO YOU HAVE 10+ YEARS EXPERIENCE WITH SWIFT AND IOS??!!8 -
So at the beginning there was assembly.
But people wanted something more highlevel, so C was born.
But writing big projects was a pain so C++ was invented.
But then the web started to become more popular and C++ wasn‘t really good at that, so Rasmus Lerdorf created PHP.
And then everything moved to the client and should be loaded dynamically for better UX, so everyone writes JS.
But JS doesn‘t have a good performance, so people created web assembly compiled from C...
Am i the only one who sees the irony in this?7 -
Arrived today!
I'm using C++ for machine learning purposes using TensorFlow and OpenCV (rip Python, you are too slow 😭)
What are you using C++ for? 😁19 -
Just surfin aroung in C# job offers and found this gem, a joboffer from a german bank:
"Sie verfügen über Erfahrung in der Entwicklung individueller .NET-Lösungen auf Basis von C "Hashtag"."
which translates to
"... and you have excperience with C "hashtag"..."
Lol'ed harder then I should have...2 -
Are you a C# developer, and do you want to contribute to the devRant public api C# variant. This is your chance!
Fork the code and help the community project.
https://github.com/WichardRiezebos/...7 -
Job Qualifications:
...
Proficient in PHP, MySQL, and PHP Frameworks
Experience in Bootstrap CSS
...
Required Skill:
...
- PHP
- MySQL
- C <----------------- ??? The hell is this!
- C# <---------------- ??? What the?!
- CSS
...
Probably a startup company???9 -
Wow, just found out in C you can do: (if you have a struct with int i and char c)
mystruct st = {.i=20, .c='A'};
All in one line! Amazing4 -
When you do everything in a school project(c#) and fail the exam because your asshole friend didn't do anything, because he "doesn't understand", yet he passes the exam (c#).
Bastard.5 -
Just had the funniest call from a recruiter where this guy couldn't pronounce c# ("c sharp").
So he was like "Do you know SQL and c...err..c..huh...cough..cough..c...eerrrr".
I let him struggle for a bit and then I went "c sharp?" and he said "I think so".
Quite useless, really.3 -
New project in C++. I don't know C++ but very good at C and Java so not worried.
New guy joins us. Gets stuck on how to concatenate a string. No big deal since he is new to the language too and doesn't have a C background. I offer to help and he goes on a 10 min rant about how C and C++ are different and I don't know what I'm talking about.
Wait until he's done. Tell him just to do strcat(possibly a better way but I'm literally in day 2 of my C++ skills, but I knew it would work). He mumbles how is not going to work as he types like he's going to shove it in my face when it fails.
It was like a beautiful geeky mic drop when it worked perfectly.5 -
-2000 : C# planned to copy entire Java and Java said C# won't be able to.
-2003 : C# copies Java and Java complained
-2005 : C# denied he didn't copy Java and Java laughed
-2008 : C# started to be more than Java and Java felt sick
-2010 : C# became more mature AND Java home defunct (Sun MicroSystems)
-2013 :Java plan to copy C# and C# laughed
-2015 :Java copied C# and C# laughed
-2017 :Java still can't copy C# and C# is laughing
-2018 no one will copy their neighbor and WE HOPE SO.11 -
First time ever implementing an Android app from scratch (coming from C++ but also worked with C# and Python): WHAT THE HELL IS THIS SHIT???13
-
*decides to make a new os*
*remembers aosp*
*goes to their website*
*searches for sources*
*downloads*
*c/c++ based*
........
I ain't know a single stuff in C/C++ except that printing a string in C is printf and cout something in C++
AHHHHHHHH17 -
Writing an emulator for an 8-bit computer with 8-bit memory addressing in C. Or maybe writing a web server in C... Both were really fun and I learned a lot. (But I love C, so there’s that)2
-
Java and C
Java and C were telling jokes. It was C's turn, so he writes something on the wall, points to it and says "Do you get the reference?" But Java didn't.7 -
So lately I've been seeing a lot of hate towards languages like C, C++ and java.
Someone at work literally said go would replace C++ and that anyone still using it is a dinosaur.
He said no one uses this languages anymore.
Am I just being left behind or are most real time devs not using C et al anymore.
I mean c++ has a 2017 update and we work with devices for aviation and the like that need to be certified I don't see go becoming our main language anytime soon.
I'm not saying go isn't a good language I'm just saying the others aren't at the point where we take them out back and shoot them.21 -
I started learning python tonight to knock out some quick assignments, coming from a Java/C#/C background.
Must resist urge to put semicolons and brackets everywhere. -
Learning C was easier than learning Haskell, and learning C was atrocious.
What in the actual fuck is this?16 -
Hello, I can code a "hello world program" in Java, Python,C,C++,C#,Ruby,nodejs and in HTML do I qualify to be here?5
-
Teach an actual coding language like C# or C++ instead of Scratch and Java. If you’re going to learn a language, learn a good one.8
-
My new year's resolutions:
- Learn Python
- Start and finish at least one project
- Learn C
- Understand C++
- Start working on a game3 -
The more I play with C, the more I realize why many people hate C++.
I like the amount of control and the simplicity. No unnecessary syntax sugar, and the code is very straightforward to read.11 -
I wish people understood this more: "If class A is a friend of B, and B is a friend of C, that does not mean A is a friend of C."1
-
Started developing a new expansion for C# out of a very personal need. It's called Dyslex-C# and it contains the normal C# functions spelled wrong since I seem to do it all the time anyway. Hello Wrold! Productivity++.3
-
Me: "Oh, I see the problem.... Ctrl ^C"
App: "Received interrupt signal. Ignoring."
Me: "That's not how this works. I tell you to quit, and you quit. M'kay pumpkin? ... Ctrl ^C Ctrl ^C Ctrl ^C ....."
App: "Received interrupt signal. Ignoring."
App: "Received interrupt signal. Ignoring."
App: "Received interrupt signal. Ignoring."
Me: "Stubborn piece of crap."
App: "Crash."7 -
Why dark is spelled with a 'K' and not 'C'?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Because you can't 'C' in dark.8 -
So i helped my friend write a program and i sent it to him. The next day he told me that the code dosent run, so i asked him to show me the errors and apparently he thought C and C++ is the same thing and was trying to run my C code as C++ code...5
-
My non-tech friend was looking into a degrees guidelines for N.C. State University and they recommend C++... she thought C++ was the grade she needed to average to get that degree. 😂1
-
Well I never! Did you know: C++ is the 'incriment' of C and that C# is C++++ (two + on top of the other two + to make a # sign)1
-
One of my colleagues held a very short, literally 5 minutes, interview today. The candidate was looking for an android developer position.
Me: Done already?😕
C: Yep. Had enough.
Me: How come?
C: I asked him if he has any apps on the store? No. Any public git? No. Any apk? No.
C: Ok what experience do you have?
Dude: I worked on a app similar to imdb 4 years ago. I made a page for it.
C: *Page* *triggered* *internal screaming* 😂
C: Ok and since then?
Dude: Nothing.
C; Ok, we'll call you.
Best ot luck in your android dev career mate. Never gonna hear from us.
How can you come to an interview and be so unprepared. Was he delosutional or something?😕2 -
I propose that the study of Rust and therefore the application of said programming language and all of the technology that compromises it should be made because the language is actually really fucking good. Reading and studying how it manages to manipulate and otherwise use memory without a garbage collector is something to be admired, illuminating in its own accord.
BUT going for it because it is a "beTter C++" should not constitute a basis for it's study.
Let me expand through anecdotal evidence, which is really not to be taken seriously, but at the same time what I am using for my reasoning behind this, please feel free to correct me if I am wrong, for I am a software engineer yes, I do have academic training through a B.S in Computer Science yes, BUT my professional life has been solely dedicated to web development, which admittedly I do not go on about technical details of it with you all because: I am not allowed to(1) and (2)it is better for me to bitch and shit over other petty development related details.
Anecdotal and otherwise non statistically supported evidence: I have seen many motherfuckers doing shit in both C and C++ that ADMIT not covering their mistakes through the use of a debugger. Mostly because (A) using a debugger and proper IDE is for pendejos and debugging is for putos GDB is too hard and the VS IDE is waaaaaa "I onlLy NeeD Vim" and (B) "If an error would have registered then it would not have compiled no?", thus giving me the idea that the most common occurrences of issues through the use of the C father/son languages come from user error, non formal training in the language and a nice cusp of "fuck it it runs" while leaving all sorts of issues that come from manipulating the realm of the Gods "memory".
EVERY manual, book, coming all the way back to the K&C book talks about memory and the way in which developers of these 2 languages are able to manipulate and work on it. EVERY new standard of the ISO implementation of these languages deals, through community effort or standard documentation about the new items excised through features concerning MODERN (meaning, no, the shit you learned 20 years ago won't fucking cut it) will not cut it.
THUS if your ass is not constantly checking what the scalpel of electrical/circuitry/computational representation of algorithms CONDONES in what you are doing then YOU are the fucking problem.
Rust is thus no different from the original ideas of the developers behind Go when stating that their developers are not efficient enough to deal with X language, Rust protects you, because it knows that you are a fucking moron, so the compiler, advanced, and well made as it is, will give you warnings of your own idiotic tendencies, which would not have been required have you not been.....well....a fucking idiot.
Rust is a good language, but I feel one that came out from the necessity of people writing system level software as a bunch of fucking morons.
This speaks a lot more of our academic endeavors and current documentation than anything else. But to me DEALING with the idea of adapting Rust as a better C++ should come from a different point of view.
Do I agree with Linus's point of view of C++? fuck no, I do not, he is a kernel engineer, a damn good one at that regardless of what Dr. Tanenbaum believes(ed) but not everyone writes kernels, and sometimes that everyone requires OOP and additions to the language that they use. Else I would be a fucking moron for dabbling in the dictionary of languages that I use professionally.
BUT in terms of C++ being unsafe and unsecured and a horrible alternative to Rust I personaly do not believe so. I see it as a powerful white canvas, in which you are able to paint software to the best of your ability WHICH then requires thorough scrutiny from the entire team. NOT a quick replacement for something that protects your from your own stupidity BY impending the use of what are otherwise unknown "safe" features.
To be clear: I am not diminishing Rust as the powerhouse of a language that it is, myself I am quite invested in the language. But instead do not feel the reason/need before articles claiming it as the C++ killer.
I am currently heavily invested in C++ since I am trying a lot of different things for a lot of projects, and have been able to discern multiple pain points and unsafe features. Mainly the reason for this is documentation (your mother knows C++) and tooling, ide support, debugging operations, plethora of resources come from it and I have been able to push out to my secret project a lot of good dealings. WHICH I will eventually replicate with Rust to see the main differences.
Online articles stating that one will delimit or otherwise kill the other is well....wrong to me. And not the proper approach.
Anyways, I like big tits and small waists.14 -
The brand new language - C thru
In this C language you have a lot of new statements and thats all ;)3 -
Le college freshman nibbas: Don't know C, Java, C++, python or any other programming language but want to do AI and machine learning!
💀🤷6 -
Do some cool shit that I’ve always wanted to do.
- learn more about machine learning and computer vision
- learn C / C++ / rust
- learn embedded systems / programming
- learn more EE centered stuff3 -
N: Me
C: Keurig Coffee Machine
N: *Turns on surge protector and keurig*
C: WAIT, PREHEATING
N: *Lifts handle to put Keurig cup in*
C: LOWER HANDLE TO PREHEAT
N: Fine, I'll just wait.
C: FILL WATER TANK
N: Wtf I just sat here for like 3 minutes and now you tell me? *Fills Tank*
C: WAIT, PREHEATING....
N: *Waits another 3 minutes*
C: INSERT CUP
N: *Inserts Cup*
C: *Makes coffee in 1 minute*
C: ENJOY COFFEE. WAIT, PREHEATING
N: *Turns off surge protector before finished preheating*
Is this really nitpicky shit? I feel like I have to babysit it through the entire process.11 -
Yesterday I installed WinAVR.
Today I found that my path contained only "C:\WinAVR\bin;C:\WinAVR\bin" and nothing else.
Thank you WinAVR. Thank you.5 -
In my wallowing experience as a freelancer I've noticed that almost all C/C++ clients are perfectionist. You just can't please them by getting the job done quickly.
I got a libcurl job from one the other day to scrape data from a target website and within an hour it was ready. I notified the client and he was both amazed and confused assuming it would take the whole week.
C++Client: The code works but you need to take your time.
Me: Sorry?
C++Client: Yes, it works but you used "string" instead of "wstring"
Me: 😊 Oh okay... *converts strings to wstring*
C++Client: And also variable names should be more descriptive.
Me: 😏 *int foobar => int very_long_descriptive_foobar_01*
C++Client: And also use "shorts" for page nums it'll save some bytes
Me: 😕 *int => short...*
C++Client: And also use forloops instead of whileloops
Me: ☹️ *whileloops => forloops*
C++Client: And also use -- instead of ++ in loops
Me: 😤 *for(... i++) => for(... i--)*
C++Client: And also...
C++Client: And also...
C++Client: And also...
C++Client: And also...
C++Client: And also...
C++Client: And also...
C++Client: And also...
===> Seven "and also" days later <===
Me: *completed 10 Java projects behind the scene*
C++Client: And also use pthread instead of thread
Me: 😧 It's day 7 already!
C++Client: Oh I see, great job. You can compile and send me the archived source.
Me: 🤩
C++Client: And also...
Me: 🏃💨11 -
#You never know the sun will rise. I recommend this code style.
a = 2
b = 2
c = a + b
assert a is 2 and b is 2
assert 2 + 2 is 4
assert a + b is c
assert c is 41 -
Python does not have ++
Feels so different as I used c c++ and Java!
Just can't write while loops with x++
😭4 -
> Found a VBScript to show a messagebox (2008)
> Got challenged to hack an FPS
> Copy-pasted VB6 into VS2008 Express
> Did not understand a single error
> Learned VB.NET
> C#
> Windows died, Linux installed
> Python
> C++
> PHP/HTML/CSS
Now I work with C#, PHP and C++
And I am still not able to properly inject a DLL to hack an FPS (I think)3 -
I like obj c more than I like Swift. I don't know why and even tho it is the same API I find obj c more intuitive and useful since it is a strict superset of C and C is very useful.
Not to say I don't like Swift. I like it. I just have something against mobile OS APIs really6 -
C is probably my favorite programming language. I use it for learning new concepts and implementing algorithms.
It's just sometimes I hate that I have to do everything myself when I need to focus on the solution/concept instead.
P.S., I hate C++ from all my heart. It's an abomination and a deformity of C.21 -
Don't question my infrastructure setup. I ssh into server A because it's the only one available from the outside. From there i ssh into server B to ssh into server C. C functions as a router and allows me to ssh into D, E, F and G. I could go from A to C directly, but OCD.1
-
Starting to Learn JavaScript and when I spoke to my little sister she tells me Bro learn C than C++ and than go C# and Java. Well I just!! Ok Challenge accepted, wish me luck, she already knows C and C++15
-
Professional .NET Developer here:
After years of using Windows and C# for everything at work and at home, I finally switched yesterday from Windows 10 to Arch and from C# to Python for my hobby projects. Feels good!2 -
Definition of C++: super fast language with lots of problems.
Definition of Rust: C++ without all the problems, an awsome package manager and community made of real people!11 -
When you're proud of writing plain clean C and GitHub marks it as C++ Objective-C and Objected-C++.5
-
Changing from Windows to Mac be like:
CTRL+C
***** that's CMD+C
CMD+C
CTRL+V
***** that's CMD+V
CMD+V
And so on until you get used to it 😂5 -
I'm the kind of person that says "Fuck python, worst language, fuck C#, Java, Golang", assembly and C are superior.
But I have learned my lesson; Yesterday I learned enough C# to be able to make a windows app that connects to a another app via sockets. I tried first to do it with C++ but my app looked like shit and took me about a whole day to make. Then I tried with C#, got the App working on an hour, now I'm delighted with C#. I guess I have to be open-minded.8 -
Once C++ walks into a bar and sees C.
C is drunk, falling on the floor, spitting, and swearing.
How classless! -says C++4 -
My god... Just started out with Visual Studio learning Visual Basic... Coming from Debian + Vim with C, C++ and Python. How can you even use this thing?!17
-
So I saw this argument between two intellectual titans on Quora about C vs C++. It was pretty amusing lol.
First Guy: “C programmers are the Amish! They’re afraid of change. C++ is a better C because it repairs it insufficiencies like classes and namespaces.”
Second guy: “C is fairly consistent, while C++ is inconsistent in many places. It performs so many allocations without you even knowing it. It’s complexity is very distracting !”10 -
Call me crazy but honestly, getting a segmentation fault in C/C++ makes my day joyful
Java or Python guys will never understand the feel you get when you end up getting segmentation fault in C/C++
Sitting in midst of nature with beer in hand and segmentation fault on screen.
WOW :) THAT'S WHAT WE CALL LIFE :)
PS: Although sometimes it's frustrating as hell5 -
So which are you new year's resolutions?
Mine are:
Learn C,C++ and Node
Organize my time to do more with it
And code5 -
Why some libraries written in C++ does not offer an api in C++ but they offered it in Python and others "fast developing" languages? I start hating python..7
-
Being a c# junkie moving to c++, I hated the archaic practice of declaring things in one file, then implementing them in another.
I have been using c++ as my main language for about two months straight now, and I went back to a c# project and I HATE not having them in separate files.
Funny, eh?9 -
What is it with certain colleagues who "wanna write C, not C++"
Motherfucker if I see another malloc in the code I will physically asssault you.
Like damn we're failing to teach people C++ badly when a newcomer from university, who had 2 semesters of "C++" doesn't even understand RAII.
And how in gods name do software engineers with *decades* of experience get so stuck on old technologies?
Like I've seen them write 3 nested try-catch to make sure a delete is called or some mutex is unlocked....
If youre in the position of teaching others C++, please stop teaching C first.25 -
When reading through someone else's code, what about it made you think "Damn this is well written" or similar?
Any language - I have a bias towards PHP, C++ and C though.9 -
One day C and JAVA walk into a bar
Everyone was hitting on Java and C was completely ignored
Do you know ...why?🤔
Java has his own class 🍻4 -
Did anyone heard about modular C?
I'm working on it at school, it's like how to do OOP in C with structures and function pointers.
We're developing the String class but next, we will make a basic C++ implementation in C before beginning the real C++
Do you think it's a good path?5 -
- Continue working through my CS degree
- Finish my current game I'm working on
- get an Internship
- Learn OpenGL or Vulkan
- Learn C (I already know C++ and C#)
I got some work ahead of me, but this seems doable! I'm excited for the next 100 weeks! -
!rant
So coming from the interpreted language world (mainly using python), I'm always amazed on how compiled languages work. Especially C.
Every time I use C, it's like everything is sooooo faster (runtime), and yes I've read about it so many times. It's just that I can't explain this great feeling about actually seeing the results of using C.
Man, I think I just love C (even though I'm still confused in using pointers).4 -
Well shit, now I (re-)learned C,
And all I want to do is program in C,
But all C jobs are like -
"C guru that merged to Linux kernel"
"Driver writing low level must know Assembly"
"Military-grade realtime hardware design"
Isn't there a C job that's like Python - "here I wrote this script in 5 minutes and spent the rest of the day playing Eve Online" :D :D10 -
I swear my brain has 2 sides:
1: c or c++ would be great for this project
2: lol c++ hard so nodejs
1: but c++ would be so much faster and c-
2: NODEJS6 -
I am honestly surprised in how many different ways C++, VS, and libraries are able to fail over and over and over again.
Fuck you C++ libraries
Especially fuck Visual freeze Studio5 -
Teacher: "Classes and methods are pretty similar in java and c#. But in c they are a little different"
Me: "u cereal?"
Never say something you don't know shit about5 -
Hi guys,
I'm a C# developer and I programming (with C#) since 2016. Does anyone know a C# project where I can help?
Thanks for your attention!
Have a nice day ;-)8 -
I started getting into .net core.
I am researching VB.NET as well as C# even though I already know C#.
And I am using a light theme.6 -
> grep -c -e '// BAD HACK:' importantproject/src/main.cc
4287
our most important piece of legacy c++ software with about 44 thousand lines of code and next to no doc aside from inline comments.4 -
I think I've reached peak boredom, can't work on my main project so I'm sitting here going through nano's C source code and planning to port it into C#...
Send help pls....3 -
Decided it was time to grit my teeth and actually bunker down and learn a bit of C++...
Im 1 hour in and hinestly am not sure whether I hate Pyton or C++ more at this stage .-.20 -
The # in C# could’ve been decided when they realize that you can draw the ++ of C++ diagonally and just extend the lines, or you may even think of it being ++++, and tile them up in a 2x2 way. If either is true, are they trying to imply that C# is superior to C++? :P6
-
Happy New Year!
This year I am going to learn new programming languages and they are: Python, Java/JavaScript, C/C#/C++ and the Linux Terminal.
I can't wait!11 -
I remember calling C#, C-Fis, because this was the only other name for this symbol than Hashtag and C Hashtag sounded wrong. But C Fis sounded wrong too and then I decided to just don’t say it’s name and if I have too say C Hashtag or Fis or whatever, which was definitely the worst option.
¯\_(ツ)_/¯9 -
/ On the subject of C program
| indentation: "In My Egotistical
| Opinion, most people's C programs
| should be indented
|
| six feet downward and covered with
| dirt."
|
\ -- Blair P. Houghton
------------------------------------ -
I am graduating in a few days for my MBO 4(pretty sure that's like community college/college in other countries) in The Netherlands and i'll be going to start working on getting my bachelor.
To prepare, i have devised a learning plan for in the summer.
Should I learn:
(C)++ and Python
(C)++ and NodeJS
(C)++ and C#
or
(C)++ and assembly
C and C++ are languages I want to learn in any case, but as for the others I am undecided.
Thanks21 -
How old were you guys when you started writing code? What language and what inspired you?
My first programming memories come from writing some QBasic text-based RPG and graphics demos when I was like 12. I remember moving into C/C++ soon after with Borland's C++ compiler and playing around with WinAPI and OpenGL 1.15 -
Using JavaScript... (we combine JS and c++ and I love c++ ... definitely not JS)
It is such a mess to maintain and work with and I never had any propensity or interest towards web development.. especially JS10 -
- Played with and learned Scratch
- Learned some Python, made some weird little programs
- Learned C, using two good books: K&R C and Zed Shaw's "Learn C the Hard Way" (back when it was still in development and was free to read on the internet)
- Made LOTS of programs in C
- Came back to Python when I wanted to learn network programming
- Learned some Racket/Lisp, Bash scripting along the way
- Now I use all of the above, minus Scratch -
Guys, a company's HR mailed me for a position that requires strong experience of ">3 years in Python with C or C++".
Does it mean Python and C/C++?
Or do they need someone who is using C/C++ to write Python?
I have some experience with adding Python support to C++ code. Does it count? 😁8 -
Why are c Developers poor and c++ Developers rich?
.
.
.
.
.
.
Because c++ Developers get their wealth using Inheritance 😂😂😂1 -
I am going to make a prediction. C++ and Rust will be pitted against each other in a political manner. C++ will be likened to far right and Rust will be likened to far left.
It won't make sense, but it will be used to try and make language choice some political garbage. Rather than technical merits. There is already a Boomers use C/C++ and enlightened programmers use Rust kind of thing going. End of prediction.
DARPA has decided there is a consensus of programmers saying C needs to be replaced by Rust or some bullshit. Whenever I see "consensus" I automatically read "we decided for you".10 -
I had a phone interview and he was shocked that I hadn't learned C, C++ or an assembly language in college. anyone else find that strange?5
-
Took a class on neural nets once upon a time and all the prerequisites had been taught in C/C++ but the professor insisted on teaching in Matlab because they didn't know C/C++.8
-
Applied for a job which would like you to have some C# knowledge. Not required though. I'm like, fine, I know Java (and I'm pretty decent at it) and I know that C# looks like Java in many areas. So, I made it clear that I didn't have any C# experience, and now they require me to do a 2 hour long "difficult" test in ASP.NET and C#... GG, the search for a new job continues.2
-
Well I program in PHP, JS and C#.
Weak typed variables are literally the worst thing ever.
In C# I particularly hate the way callback as handled9 -
when you start really learning C, not "hello world" C but Makefiles and autotools and libraries... is it me or is almost everything a C library and the rest of the languages are just wrappers for C libraries?1
-
Need a C++ partner..
I'm self taught developer and it's kinda hard to understand the code of your own.. since c++ is not an easy language to master I need partner whom I can easily discuss code and topics of c++. I'm in slack too and it's great community .. has people who always willing to help you out.. but the thing is it's really weird to ask simple question there again and again.. so i wanna have some partner to discuss C++ code easily..13 -
when you're tryna create a function in C and u start typing "funct"... and then u realise it's "C" so u backspace your code of shame.
-
Fuck golang, apparently enums are too complicated for the human mind. Someone looked at C and decided to make it shittier, like now I have to deal with C shit, and use a garbage collector on top of it or use fucking C++5
-
How angry are you in a scale from 1 to 10 when you want copy something from gnome-terminal and you forget to press shift (only CTRL+C) -> ^C and you have to repeat ?3
-
C, C++, and Java are legacy programming languages.
So, for the ones who fear that the language will go away in mere 10-15 years. Chill. These languages will stay forever.18 -
Why does it feel like nobody uses D?
I love it. It combines the best bits of C++, Java, Ruby and even some Python. It still is C ABI and C++ ABI (ish) compatible. It can do everything you need it to. It's not limited like Java. It feels cleaner than C. I LOVE IT. But I don't understand why there's not much going on about it. Is it because it's not 100% stable yet? I don't know. AAAARGH7 -
Going back to C++/C#/Java from Swift is like: What is the point of all these brackets and semicolons?!1
-
C++. Damn the pointers. It's because I learned Java before C++ and the memory management in C++. I don't get it ever, the object creation, memory allocation, deallocation and everything4
-
god damn it c++, you and your ambiguous, contextual grammar!
currently working on a c++ and c parser, went from trying to use a parser generator to now writing a parser by hand.3 -
My cousin came to me and asked me if I don't have some resources about programming becase he will need it in school in higher grade. Then he said me he will be learning about C programming I told him that I have only C++ books and tutorials and if he don't want to learn C++ instead of C and he asked me if there is some difference between that... That will be a long journey I tought1
-
Please share C++ advice for devs new to the language. What do you guys think is the fastest route to self learning C++ development for infrastructure systems and please suggest resources.11
-
The borrower
Dart: Can I borrow your let?
JavaScript: Fuck off!
Dart: Please spare me your var then... You don't seem to need it anymore.
JavaScript: I said fuck off weirdo!
Dart: Can I borrow your var?
C#: 🧐... Kotlin. Is that you again?
Dart: No, I'm Dart.
C#: That what?
Dart: Haha, Just Dart.
C#: So, you need my var?
Dart: Yes, and also your String.
C#: Just that.
Dart: and your int, your bool, double and List
C#: Just that.
Dart: All your types... Maybe.
C#: 🚍☎️🗃️💺📺🛏️🎻🔦 🧤 Here you go.
Dart: Thanks💃
Dart: Can I borrow your pointer?
C: 👴 Huhh?
Dart: Your pointer. Yes that pointing stuff.
C: Borrow what?
Dart: Your pointer.
C: Poin...
Dart: Pointer!
C: Ponita
Dart: 🏃...
C: Here is my Pony bear... Hellooo. You there?1 -
C# or c++. Hi im starting to learn programming and i have to decide between c# or c++. I use linux as my os. What do you think?17
-
Trying (for fun) to run a GNUStep Obj C program that calls c headers has proven something to me:
I really do not know what I am doing with makefiles and should probably slowly and respectfully walk away to continue doing what i was doing in c++
Kids, documentation reading is important.
I also do happen to really like objc1 -
<notarant>
Just got my class schedule for freshman Computer Science. Find out they teach C++ for Programming 101. Guess I should stop using C for the next couple months and buy a C++ book.
</notarant>1 -
I believe someone was posting his accidental creation about C/C++ Web Framework in devrant sometime ago. I was lost, forget to pinned it and curious, anyone can pin me out?15
-
C# devs go crazy once they found out that kotlin has got extension methods
and some other c#-like features
Just use Scala.
There's a reason books with titles like 'Scala for Java/C# refugees' exist3 -
Earlier I used to say "I am good at throwing and catching." After learning Expcetion Handling in C++, now I am saying, "I'm good at throwing and catching EXCEPT in C++."
-
Microsoft C/C++ code keeps on giving:
https://msrc.microsoft.com/update-g...
Too sad, that Microsoft is too poor to afford good devs. As a lot of devs here are sure, that good devs surely can code safe and secure in C/C++, Microsoft probably just lacks the resources to get such devs to work for them.13 -
Studying Nim for me is like mashing two potatoes with one fork, except it's raw and the fork is made out of plastic. (Still don't understand C/C++)1
-
I learned to code by trying too automate things. I started out with Windows batch and moved up to Java before I discovered the magic of C, C++, Python, and now Swift1
-
This may be a dumb question, but are there any benefits in learning c instead of going straight to c++ for microcontrollers? I'm in my first ee semester and wondered, because we are learning c and java (next semester), but not c++2
-
Joke about C++
C++ is the only language in which you and your @friend(function) can play with each others private parts.1 -
I was programming in java, C# and similar languages for years now and I never knew how the buffer overflow exploits would work, then I started C and saw the fixed size char arrays. After puking on my keyboard I realized that most of the vulerable programs were indeed written in C or similar languages.11
-
Hello guys. Im new to programming I know some basic c and c++ . I was hoping if someone could help me with some sites to learn new programming languages. Thank you.7
-
White house urges Developers to move away from C/C++
I'm not sure what to think about it yet, but on the surface level, i think that makes sense.
https://infoworld.com/article/...26 -
How is C and C++ development done in reallife ffs?
Like, you got no ecosystem whatsoever, just thousands of build chains. How does this work?25 -
I hated Java and was skeptical about C# in the beginning (I never code in C# during my early college years).
But when I tried coding in C# as a requirement for our internship this month, I was like "fuck Java (seriously), C# is the shit!"1 -
I have to convert a very complex algorithm form matlab to C , and push to prod in next 7 days 😭
[FYI can’t use matlab to c coverter]5 -
Having great ideas in mind don't know where to begin and I see Iron Man Movie ... AI.. thats it. I want to make it and started with C....(html,css,c#...etc.. ignored)... Jumped to Python.2
-
C++ and MySql++ for a login page, Yes or no ?
I'm relatively new and like C++ (and im to lazy to learn php 😅)11 -
There was a lady who had come for QA automation demonstration.
She was mentioning the languages used and uttered, C hash for C#...2 -
My Linkedin feed is bombarded with .NET and C++ jobs.
I don't like C# and don't know C++.
I understand the demand for C++ but not .NET.
Every time I use C# or Powershell I feel weird and handicapped by Microstuff's prison.
Java, Python,Node.js and bash scripting feel so much better. Why there is such a demand for .NET devs?7 -
So I saw something funny today (in C++ forum):
C++ is Rust--
The topic was not Rust in any way. So I lost the "Can I go one day without hearing about Rust?" game today (You won The Game btw).
What I find funny about this is the obsession of Rust devs have with C++. I get it, C++ is the competition in a way. But isn't it a low bar to define your language as "better than C++"?
If I had never seen C++ (and had used other languages) and saw Rust syntax I would not be impressed. If it was the first thing I learned I wouldn't know any different I suppose. I wonder if I had seen C++ later I would think differently about C++. It is not pretty, but I am used to it I think.
This gets complicated as the C++ committee is influenced by trends in CS of how to better do things. So C++ is a moving target.
I don't really have a point other than the amusing observation. I find it equally amusing when people get bent out of shape over Python syntax.32 -
I just saw this rant: https://devrant.io/rants/841846/ which gave me flashbacks of my first programming class using C#.
Our professor made us write for the whole semester our code using a pen and paper (for tests).
Her grading was "easy." She would write the code in the computer exactly as we wrote it. If it compiles, you got an A, if not, you got an F.
The average test would take at least 5 pages...
Overall it was an interesting class, and I have to admit that I learned a lot.5 -
C compiler : you have 27 errors and 35 warnings 😐.
Me : ok let's recompile it.🧐
C compiler : ok! You can go now🤣.4 -
!First rant
Started learning C programming through CS50 course.
Hello world?nope.too scared to write the program because everytime I write it, something or the other happens and I stop learning C5 -
Guys, do you agree that C++ is getting overly complicated following the updated versions?
At times I wonder whether I should leave C++ and jump to python as my goto programming language.24 -
so llvm core was written in c++
and it's used to build good compilers.
and they used it to build llvm-g++, a c++ compiler (now deprecated)
huh...1 -
Read this somewhere—
“C# is not just an improvement over Java, it’s an improvement over all previous languages. And the C# team has done an excellent job of introducing new features without making the API ugly. C++ fails at this, as does Java.”3 -
When you changed our SDK folders from your tiny C:\ to your big D:\ but the IDE still downloads huge updates on C:\ first, and you get "not enough disk space" errors1
-
C# :
Welcome to C#, as it is a very powerfull and typed language you will never have issues with Equals and "==".
Also C# : (image)
Edit : It's actually wrking as expected, but I would';ve guessed that "==" would wotk for basic types11 -
I love C and C++ but their dependency management stuck, there’s a package manager for them which offers a nice experience comparable to Go or Rust?4
-
Trying to learn c and I forgot the name of the string comparison function, so I googled "c string"
O boi....4 -
Dev c++. Our school had us use it because they thought everyone in the CS department was an idiot and needed an easy to use GUI for c++ development. It was okay until we found out it was for very simple c++ development.
Doing anything outside of making one class and printing some statements was cryptic as fuck.1 -
*Downloads vs community and runs installer*
"An update for the installer needs to be downloaded"
*Updates installer*
"Installer will now download vs community"
*15gb later, runs vs community and starts new c# console app*
"C# development kit needs to be downloaded"
*Downloads c# development kit*
"Windows updates are ready to be installed"
Fuck. This. Shit.2 -
!rant && question
So, I am doing a complete burn and rebuild of a C++ library into a C# library. My question: this thing uses GDI/OpenGL to do graphics things (Mostly rendering lines and shapes over images). Is it worth trying to use WPF for that, or does GDI/OpenGL work in C#?2 -
<sarcasm> best advice?
Write microcontroller code in C++ even if the underlying OS won't understand. You can always decompile the program to C code and use the generated code.
Things he forgot to mention:
- cannot use most of C++ core functionality (basically no STL, no exceptions, all of C++11)
- have to get your code to compile twice (C++ and C afterwards)
- debugging that generated C code is a pain in the ass
- have to debug twice -
I am working on a project which is written in C#, Razor, php, Fucking Java and Objective C. I guess I am showing signs of multiple personality disorder... Specially when I switch from Objective C to others7
-
FINALLY.
https://devblogs.microsoft.com/dotn...
In 6 month ready to challange C and C++ on performance vs time.12 -
The most important difference between C and C++: in C you can make errors, but in C++ you can also inherit them.😐1
-
First Rant...
Why the fuck do I get on a C++ interview the question if I now Javascript......everytime.... NO I DON'T WANT TO KNOW JAVASCRIPT!!!
Real coders code in C/C++ and not hipster javascript. Am I alone???(probably)10 -
As I have a break between uni courses, and I’m bored of C# I thought I’d try learning C++.
I’m working my way through Bjorne Stroustrup’s book at the moment and also have the C++ Primer in my kindle library.
Can anyone recommend any other good sources to learn the language?9 -
Looking for job as C# programmer be like:
Job offer: C# Junior Programmer
Expectations: Programming in C#
Reality: Programming in C#, JavaScript, CSS and HTML2 -
Just watched this really interesting talk about C++ 20. Bjarne is really good about covering the state of the art and what is coming. One particular topic stuck out that reflects on the development strategy of the C++ language. I have bookmarked this as I see this particular scenario being played out on the internet and on devrant itself:
https://youtu.be/u_ij0YNkFUs?t=2871
I would recommend watching the whole talk as the changes coming in C++ 20 are quite good. I am very excited about: generators, modules, and co-routines. I was also very interested in the effects of C++ on C. Some of the things C has borrowed surprised me. All in all I think C++ is going in a very good direction.3 -
hey guys..me and my friends are starting a project for a desktop application....can you suggest best GUI languages based on your experiences...we are thinking C# or delphi
P.S. we will be new to these languages...will start learning first... we have worked on java, C and C++8 -
I'm at a bit of a loose end here, I'll do my best to explain and I hope it all makes sense.
I'm trying to find a way to wrap a C++ Console App in a C# Class so I can use the C++ App as a library within the C# app rather than triggering the C++ exe and providing a command to it.
The reason why I wish to do it this way is for maintainability, so I can make changes to the C++ app without affecting the C# App.
I've been looking at tutorials and stack overflow to see if's its possible, but for someone with learning difficulties, I'm struggling to find the right path to take as I'm seeing conflicting info.
Any help would be greatly appreciated, Thanks in advance5 -
Hey, want to start deeper learning in c++. Do you know any good free resources, tutorials etc. And if I then use an IDE with which should I go. Currently installing eclipse for c and c++6
-
Different types of comments that I know in programming languages
C, C++, Java, C# , JavaScript, Golang
// whatever and /* whatever */
CSS
/* whatever */
Python, Ruby, BASH, Powershell, perl, TCL
# whatever
Almost all markup languages
<!-- whatever -->
I was amazed by how many languages i know along the way!9 -
Ugh I hate having to write c/c++ files in pairs of implementation and headers... Oh wait that's what bash scripts are made to solve! :D2
-
C++ or Python for coding interviews?
I used to do a lot of developments in Python and JS/TS. But now I have been doing a lot of back-end stuff in Golang at work (1+ year) and C++ for some of my side projects. So when I started grinding leetcode, I used C++ all the way.
Today this question struck me and I keep thinking if I should continue with C++ or use Python, which will help me focus more on the question than the language.5 -
!rant
Any links to start learning game server programming using C++? I know network programming using C# currently and built a game server emulator also. I want to start C++ network programming for windows now...8 -
What's the hype about Rust
I've been seeing post about Rust everywhere and I got curious so I checked the repo. However, I'm not sure what is it for.
Is it like C/C++, low level languages that can be used for desktop and CLI, or is it a AI-oriented, etc?
Give me an example like "it could replace C#" or something.2 -
Boored of work. Anyone got any open source projects that need help ? I can help in python, sql, C and C++. 🤷3
-
When you ctrl/cmd + c and then go to paste and hit freakin' ctrl/cmd + c again instead of ctrl/cmd + v.6
-
A recruiter calls me and asks if I'm interested in an interview with their company. I say yes and she asks how I like programming with C aaaand my resume only mentions C++..
-
I am very thankful to C as I face less pain while dealing with pointers and memory allocation and deallocation in C++. I am very thankful to C++, as I grasp OOP and template concepts out of it and it was also my first language for DSAlgo implementation. I feel very fortunate to move to Java after C++ rather than python. Although Java's design is f**ked and it feeds on a computer's memory, it taught me to deal with objects( unlike C++). It taught me how objects are clearly different than primitive data types like int, float, char...And best of all, Java provided me everything I need to safely switch to Python, it's all because of Java, I can clearly understand the working of python. All the stuff which I find weird in python before is sounding logical to me now. As java taught me how to deal with objects, I am confident to say that "I CAN DEAL WITH PYTHON". With respect to all my 3 prior languages: C, C++, and Java.2
-
I've been practicing really hard on C# the last few days and it really doesn't feel like I'm making any real progress. Everything I'm doing is in console and when people in my class see it I get treated like a idiot because most of my classmates took the C# or C++ courses while I focused on web...3
-
C is great, C is good
And we thank it for blazing code.
By it's spec we must be led,
Give us C, our orphaned thread. Amen -
As a mainly object oriented programmer (java and c# mainly) having to do projects in c becomes a challenge..
-
Mark Russinovich, the chief technology officer of Microsoft Azure, says developers should avoid using C or C++ programming languages in new projects and instead use Rust because of security and reliability concerns.30
-
Company A (mine) is building a site for company B, company B employs company C to manage their inventory database, company C exports inventory as JSON to company A, company C says, this field (SKUs) will be an object (skus = {...}) when it only has 1 value, but an array (skus = [{}, {}, ...]) when there are multiple SKUs, company A (me) tells company B to tell company C to ensure it's always an array.... company B is scared of company C and company A (me) is always cleaning up company C's shit6
-
I've heard "someone" saying, that typescript and c# are somewhat similar. Now I've never worked with c#, but I still doubt it. What do you, human of devRant, think?8
-
Am just looking to buy my first printed book for C#!
Till yet I was learning C# from internet resources like video tutorials and Pdf books.
But now am going to buy a printed book so that I can carry that with me and can read on the go.
So can you please guys suggest me any c# book to buy.
I decided to buy the C# complete reference. But still I need some suggestions from you all.4 -
I don't really understand all that love rust gets. It's syntax, better than C++'s, isn't better than C syntax.
You can make memory safe programs with C, just if you know how to manage memory, and you should only if you know how to. Bigger ecosystem for C/C++.
C23 waay better than any rs standard.
PS: I used both C/C++ and Rust39 -
C++ is the building blocks for many high-level programming languages, and since 1984 its first appearance in the markets the C++ core committee developers have introduced its 4 new versions which are C++03 (ISO/IEC 14882:2003 second edition), C++11 (third edition), C++14 (fourth edition) and C++17 is the fifth edition. With each new version, developers introduced new features, libraries and APIs in it.
C++ introduced as the extension of C programming language which made C++ as a compiled programming language, which means the developer required a C++ compiler to translate the C++ code to its equivalent machine or byte language, so the Operating system of the computer can execute the program.
There are various C++ compilers in the market and most of them are open source and free to use, however conventionally when we say C++ compiler, we basically talk about GCC which stands for GNU Compiler Collection.
What is GCC?
GCC stands for GNU Compiler Collection, and it is a collection of programming compilers which induce C, C++, Objective-C, Fortran, and some versions of Java. The first version of GCC introduced in 1987 and it was also known as GNU C compiler which became the standard compiler for C programming language, in that same year GCC also provided Compiler support for the C++ programming language.
Now GCC has various versions and each version give specific support for C++ versions, by now if we look at all the versions of GCC, we have a stable GCC for every version of C++, but there are some exceptions with C++11.
C++11:
C++11 introduced as the 2nd update version of C++, it suffixes 11 because it released in 2011 or because on August 12, 2011, ISO gives official approval to it. Formally C++11 known as C++0X because developers were expecting the new update released in 2010, but with its release in 2011, the core committee developer of C++ changed its name by C++0X to C++11.
C++ 11 replaced the old version of C++03, and it also brings many new features for the C++ developers. The main aim of designing C++11 to stabilize and maintain the backward compatibility of new C++ version with the C+98 and C programming language and that’s become the main reason why core committee developers only introduced new features in the old standard library rather than extending the core language.
GCC does not give Full Support to C++11:
GCC version GCC 4.8.1 purpose the first feature-complete implementation of the C++11 standard, however, the 4.8 and 4.7 does not give the full support for the C++11. The current version of GCC provides the major support for all the standard features of C++11 but if you are using the GCC 4.8 or 4.7 versions then your GCC only provide you with the experimental support for the C++11.
To use the Experimental support of GCC you need to enable it first before you compile or run you C++ 11 version code.
use code std=c++11 or -std=gnu++11 to enable the experimental support for C++11.17 -
Am I wasting my time doing a Software Engineering degree when my main interest is Web development? (we study nothing related to html, CSS, JQuery, JavaScript, Ruby etc) it's mainly C++ and C#8
-
I want to switch from Window$ on my laptop to Linux of some kind and I need some c/c++ IDE. I thought about CLion but I want some of your's recommendations.5
-
I started learning to programming when my dad introduced me to it, I then just started teaching myself and learning via trial and error. Started in C#, went to web (learnt HTML, CSS, JS) then started on SASS and CoffeeScript, after that went to C and C++, then started looking at Angular, and now I'm on Ruby.
And every project from these languages has at least 10 errors -.-3 -
Hey guys, gameDev here, wanting to branch out to software development in my spare time. Im using C# and Visual Studio, and rarely C++.
I want to make some software in c# or C++ with a GUI, more than just CMDs. Im trying to program a project manager or something else but dont know how. Need some tips!9 -
I learnt C a while ago and didn’t use it for A semester. One day I needed to write some C code for a small Arduino project and I spent 20 min remembering how to declare an array.3
-
Hi,
I'm c# programmer for many years and I did everything I liked with c#. Like windows applications, web applications and etc. And because of core framework I can install web apps even on linux.
I know difference between c# and python.
My question is, Do I really need to learn python? Or I can continue with c#14 -
He this is C++ and i am python.
Hello world in python = print("Hello world")
Hello world in C++ = i don't know 😅10 -
I always kinda wonder what it with C/C++ devs and their urge to discredit the efforts made by users of other languages.9
-
The more I work with Java, the more I recognize how C# copies Java and yet doesn't admit themselves so. Real hypocrites. F@ck C#.5
-
Vent-rant. Fuck Wordpress and PHP and overly limiting css frameworks in their greasy unstable fucking assholes. I find embedded and / or game-dev C++ waaaaay more fun and pleasant, and logical than this fucking pile of cuntfuckery. I think I'm gonna switch my job, hopefully there's some C/C++ companies in my area.1
-
!rant
I am starting to study next month and I will have to code in C, but I currently only know Java, C# and some python. Do you need anything coded on C or an open source project to contribute to so I have motivation to actually do something?1 -
Am a Computer Science student. And learned C, C++ and Java. And right now learning C# through online tutorials and practicing side by side.
So my question is, should I learn bash shell or not? Is it worth learning it? Or should I learn powershell scripting? Or should I don't learn either of them.6 -
I started at 1993 with Pascal as first lenguaje, then c, next c++, ... Actually php and javascript (node)
-
So, to improve my programming I’m going to work or implementing some algorithms in several languages.
For example, Luhns algorithm in c, c++, and c#.
Can anyone suggest a good place to read up on some common algorithms etc that I can try out?1 -
Fuck Google for only including a USB C to USB C cable with the Pixel 6...
...along a USB to USB C adapter
And then have to pay $25 for basically a.... Pixel 4a 5g charger.10 -
Technical Interview Ranters:
C++ is not my strong language. Maybe I can hack the 98 version but I know little of the 2011, 2014, and 2017 versions. With my nine years of experience would you recommend a hit to a junior for C++ and Java or just keep looking for a senior for C#/SQL?2 -
Does anyone know of a tool that will statically analize a C program and check if it's behaviour would be the same as a C++ program? Flagging things like implicit void* coercions, for example.
The use case would be if you find a C library and want to use it with C++, for example. Or are writing a library and want it to be usable in both C and C++.
If this doesn't exist,
does anyone want to help me make it? I was thinking we could modify an existing C linter to do this.26 -
Started with Basic back in the early '90s, then tried quickBasic that came with the new version of msdos.
Later in the college we learned Pascal, Cobol, C and a little C++.
The languages I'm writing nowadays I've learned as I went... Most of them script languages as perl, php, python and bash. And C/C++ occasionally.
And js too1 -
If Company A owns company B & C. And profits from Company B were used in the incorporation and development of Company C.
Can company C list company B as a sponsor and partner along with the other sponsors? Or will that be automatically established if they're under the same parent company?
company B and C are listed and registered as independent companies and provide different services but both provide internet services.1 -
Long term problem has been
What language and toolset to write desktop apps in if not win forms and c# because sure as. Fuck wont be wpf or std win32 with c10 -
Any recommendations for a C/C++ IDE for Linux.
I really like PyCharm and IntelliJ for python and java but can't afford to splash out on CLion for C++.
Eclipse is completely out, I have too much of that at work and it is a total pain.
My current solution would be vim and clang but I'd like something more IDE like.10 -
I am starting to agree more and more with Linus' assessment that C++ is stupid! Maybe I should move to C!1
-
!rant
Starting a C++ developer role in a few weeks. Currently working with C, Perl and a little bit of Java. Have you got any tips for me? :)3 -
Hello everyone!
I am CS student. So I just wanted to ask are there any tips or suggestions you would like to give me about skill sets or anything other to get place in MNC after my engineering is completed?
Right now my skill includes C, C++ and C#. 🙂🙂. And also know JAVA but not much. 😬3 -
Honestly speaking, I don't understand all these homes about Java programmers not being able to C#.
I'm mainly a Java programmer and about 9 months ago, my team inherited a huge scope of applications developed in C#. I was forced to learn C# in order to support those applications and I have to say I didn't find the language that difficult...1 -
I'm a student pursuing my undergraduation in 1st year and learnt c language what will be the best language to learn after C16
-
Year 2012, me junior wanting C++ work. Got free internship at age 27 at that company. Did some minor C++ work. Collegue rejected me for work on very interesting C++ project. Yesterday, eight years later, he and I in different company he calls me and asks me to do C++ work, even arranges time for me to read Effective C++. In these eight years I did iOS Android and got pretty fed up with it. Yaaay bitch :)
-
Fuck VS! C# sucks! F# sucks!
I found no way to debug C # and F # without VS(At least the official did not give a plan)! And I can only use macOS now.
After downloading VS for mac, I found that it installed mono automatically! And there is not even a button to open the folder!
Why do you have to wrap a class outside the main function? And their pointers are not flexible at all! Also, unlike C, Go, and Rust, the compiled files are binary files. WTF does DotNet give me? debug directories and .dll files!
I originally planned to learn DotNet core for the convenience of using Azure.
But I found that, through Python, JavaScript, Ruby, C(LLVM-Clang), Go, C ++, Rust, Haskell, Azure can also be used, which gives me more sufficient reasons to give up C #, F #!14 -
I need a method where I can communicate between an unmanaged c++ application and a c# one. I've never done this before or worked with c# before and can't find an explanation I can understand. I'm still a student so bare with my limited knowledge 😅1
-
Decided to learn C# after learning C, its a goddamn nightmare I get that C# like C++ wants to abstract and provide supposedly more easier/shorter ways to write Code but honestly I abhor both languages.
Are there any true alternatives that dont focus too much on oop? or arent bloated to hell?4 -
Who wants to collab with me for hashcode ?
I don't mind working with c , python , c++ , js , Java and similar languages I guess.
(I don't like Google but a competition is a competition) -
"rust is great it's gonna kill C and C++ and all other low-level languages" i'm still hitting undefined behavior on printing a string to console and nothing else so i'm gonna say no as it's got the same issues C has8
-
Write C++ like it's Python, write Python like it's C++.
C++ everyone else has to use types so you can get away with auto and the compiler will tell you when you've done something wrong. Python, nobody else has to use types so type everything and let the static checker tell them when they've done something wrong so they don't pester you. -
Can you start services manually when using docker compose?
As in having container A, B and C with an executable A, B and C (originating from the same source btw) where I can start/stop A, B, C independently?
All examples seem to use it as a whole thing where all containers must be up for the service to work.2 -
I'm learning C#, and the whole properties thing with get; and set; is weirding me out... So many unnecessary mistakes could be made by accidentally using = instead of ==...13
-
Hi everyone am a CS student.
Along with C/C++ taught in colleges, Am learning C# side by side and getting used to it.
So am learning it from internet PSA. I already did one C# course on udemy. And also practices a lot about the language features.
As it's very big language am really confuse what should I know more about that language. I mean which C#.NET classes are important in industry and which not and other stuff too.
So am just wanting answer from a specifically a C# developer which works in industry and uses it everyday.2 -
Why do C programmers prefer dark mode?
Because the light attracts bugs, and in C, they're harder to find.4 -
How many languages other than English do you know? I have at least C, C#, Java, PHP and Python, and then there are still the Markup languages etc... 😀3
-
Stop teaching c/c++ ,start from python and java and teach us to contribute in (open source ) github .18
-
Visual studio! for C++, C#
Notepad++ for javascript
VS because of the many features and automation. Step trough code debugging and organization in one program.
notepad++ for its simplicity -
I want to learn c# to build a mobile app with xamarin and a website with asp.net core. I have some programing experience and have build some meh apps. What should I use
Head First C#, 4th Edition
C# 9 and .NET 5 - Modern Cross-Platform Development - Fifth Edition
C# Fundamentals by Scott Allen on Pluralsight
C# 9 and .NET 5 - Modern Cross-Platform Development - Fifth Edition teaches what I want to learn but the Xamarin section seems a bit short. C# Fundamentals by Scott Allen on Pluralsight was recommended a lot to beginners online and I can always learn Xamarin from Microsoft Learn12