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 - "a/c"
-
So this happened last night...
Gf: my favorite bra is not fitting me anymore
Me: get a new one ?
Gf: but it is a C already.
Me: get a c++.
After 5 sec i bursted in laughter, she was confused.24 -
Train conversation between 3 girls:
A: "Oh, I've got 4G.. "
B: "What, we have 4G!?"
C: "OMG I HATE 4G!"
A: "Yeah, it's almost as slow as E"
C: "I know, right?!"
.....
Kill me pls16 -
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 -
HTML - hot tomato monkey language
CSS - crazy stupid script
PHP - per hour pay
JS - just scream
JAVA - just a valid acronym
C# - see sharply
Objective C - OOP cash
C - cash
C++ - cash++19 -
I delivered a small C# program long time ago.
Unit tests, integrations tests, functional tests, all passing (users even happy).
Colleague of mine approached me.
C: "I finally fixed the program"
M: "Which program?"
C: "Product X"
M: "What was wrong with it?"
C: "Nothing, but now it runs on Python"
M: "..."
C: "Yeah, we lost a few features, but it's Python!"
M: "Aren't you busy with other things?"
C: "That can wait"
M: "..."
M: "..."17 -
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 -
Person: *glances at my grades*
Me: Here we go again.
Person: I thought you were smart. How did you manage to get a C?!
It was a C (programming language) quiz. 🙄7 -
Interviewer: "Please demonstrate a simple program that outputs hello world in C."
*sweating profusely* me:
C C CCCCC C C CC
C C C C C C C
CC CC CCCC C C C C
C C C C C C C
C C CCCCC CCCC CCCC CC
C C C C CCC C CCC
C C C C C C C C C
C C C C C CCC C C C
C c c C C C C C C C C
Cc cC CC C C CCC CCC2 -
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 -
"Position: Java developer
Requirements: Knowledge in C, C++, C#, JavaScript, Python, frameworks like jQuery or Angular (preferable)"
Do you need a Java developer or some kind of development deity?10 -
"Started playing around with C scripting, can you give me a hand with x?"
"Sure. Errr... this isn't C."
"Yeah it is, like the new C scripting stuff!"
"C scripting stuff?!"
"Yeah, the coffeescript stuff! You developers always shorten it to C right?"
😬😬13 -
Wait a fucking minute! C# has 4 + symbols in it! Plus signs are combined into a # symbol!
C -> C++ -> C++++
I see it now 🤯8 -
Client: [sends design as a tiny, badly compressed jpg] "I need this site done by tomorrow"
Me: ok, can you send me the psd?
C: "no, I don't have it"
Me: ok can you send me the images you want on the site?
C: no
Me: what about the text?
C: no
Me:.....
C: I have to go to bed5 -
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 -
Boss: "Yeah we have a logging project coming up that has to be done in C" Me: "I know C, I can give some pointers on that"5
-
C is a cool programming language where if you want to return a string from a function you have to set up an entire physical-universe human social system for adjudicating who is responsible for freeing it "In order to create a C string, you must first create civilization"
"In order to create a C string, you must first create civilization"10 -
What's with all the C, "C, C++, Objective C & C sharp?"
If I make a language it'll be named C flat or C natural26 -
Today, I interviewed a candidate for an entry position. I noticed our job post had a requirement of 30+ years of experience in C++.
I fixed it to "Basic implementation skill in C++".8 -
Just got my first IT job (I'm 19 y/o)
I am a C# programming teacher now :D for teens aged 15-18
I like it but I've had the chance to give the first lecture and there's this kid
Who is constantly interrupting
"Excuse me, programming is boring, when will you tell us how to break passwords"
"Excuse me, I have this neighbour I don't like, how do I put his printer on fire using code?"
"Excuse me, so we now know what classes are but can you tell us how to run fork bomb on system startup?"
afohsdofhidsfoidfsg
I suppose the kid will be becoming famous here over time
Also, out of rant, what do you wish your lecturers said to you when you were just getting started?17 -
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 -
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 -
When I'm forced to maintain a C project having recently done a lot of C++:
Compiler: Declaration may not appear after executable statement in block.
Me: dEcLarAtiOn mAy NoT aPpeaR aFtER eXeCuTAblE stAtEmEnt iN BloCk. *pffffttt*2 -
Temporary coworker with 10+ years experience, working on C++ codebase with me since 3 months, just asked me what the continue-statement in C/C++ does.
That must be either a sign of an upcoming apocalypse, or me being heavily underpaid.6 -
Boss: Who knows C#?
Me: I've heard of the language...
Boss: Perfect.
Sends me (a JS dev) to a week long course to implement a gateway in c#.
So I say to myself, who cares, I will learn a new language.
Apparently the lady in charge of the course mixed up between c# and c++
Funny thing is, the other participants are complaining that they shouldn't be in this course cause they don't know the language...5 -
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 -
!rant
Advice
[1] Don’t panic! All will become clear in time.
[2] You don’t have to know every detail of C++ to write good programs.
[3] Focus on programming techniques, not on language features.
just read in "A Tour of C++11" by Bjarne Stroustrup
It's not just true for C++, that's true for everything3 -
Visited Java and couldn't C on short distances. Went to an iClinic that Swift'ly gave me c++ goggles. I can now C# but I Haskell been struggling with my OCaml as it's been bit by a Bash'ing Python in a Shell. I'm not trying to sell you a Ruby but I can't find my way back to BASIC.4
-
Damn fuck it. I am making a program with
#include <windows.h>
Accessing the Win32 API in c is such a pain. Just made a simple window with 70 lines of c code. And I have to edit it in turbo c but run it in some other compiler. Our teacher is a .... uhhh
Hate projects.
Sorry if the rant doesn't make sense. I am too tired.11 -
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
-
*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 -
C++ is like HTML in the sense that everyone wants to learn it as a first language.
DON'T LEARN C++ AS A FIRST LANGUAGE! YOU DON'T KNOW WHAT YOUR GETTING YOURSELF INTO.22 -
To my fellow 🐍 charmers:
You should see in C to understand C, else you'll never see what's in C. It's a big sea, you better start C. 😍16 -
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 -
C#
Little Sister: Why is the hashtag in the wrong place?
Me: Kid, that's not a hashtag. That is a sharp. C - sharp.4 -
me: *coding in c#*
me:
"(asd() ? dsa(1) : dsa(0) );"
c#: lol nah bro
me: ....
me: *opens a java ide*16 -
I see a growing trend of jobs with the following....
Frontend developer
Required: C, C#
Nice to have: HTML, CSS...
...FML -
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. -
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
-
My new year's resolutions:
- Learn Python
- Start and finish at least one project
- Learn C
- Understand C++
- Start working on a game3 -
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
-
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
-
I had a genuine respect for C++ developers back in 2001
Then this whole STL thing happened. Then C++11, C++14....C++17
Me now: Bitch do they even write code 🤣🤣11 -
Why dark is spelled with a 'K' and not 'C'?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Because you can't 'C' in dark.8 -
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
-
An old favorite that came to mind when someone mentioned C in the recent void post.
On a semi-related note, are there any modern languages that *aren’t* C-based?7 -
in C I use {} for ifs even when they have a single line. for some reason, my C proffesor hated this. For him, this is the equivalent of Tabs vs Spaces.15
-
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 -
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
-
Never knew words like “API” “PHP” “Backend Server” “Objective C” “C++” “Java” can be such a turn on when coming out of a female’s mouth in a meaningful order...
🤫6 -
The brand new language - C thru
In this C language you have a lot of new statements and thats all ;)3 -
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
-
What if you use C++ to implement C++ code into C++ so you can have a better version of C++ called C++++?6
-
#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 -
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 -
> 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 -
In PHP, this:
<?php
if($a < $b) {
$c = 'W';
} elseif($a > $b) {
$c = 'E';
} else {
$c = ' ';
}
?>
Does the same as this:
<?php
$c = ' WE'[$c<=>$a];
?>
How cool is that?!? xD14 -
I said "Let's use C for this year's hashcode challange" as a joke.
Guess who's writing C code tomorrow3 -
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
-
If you have ever used a union in a C/C++ Program let me know. I am really curious to see who in their right minds use unions unironically.23
-
Once C++ walks into a bar and sees C.
C is drunk, falling on the floor, spitting, and swearing.
How classless! -says C++4 -
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 -
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 -
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 -
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 -
So I've been interested in game development for a while, so going to spend the day diving into C++.
Wish me luck 😂21 -
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 -
I'm going to try a 'zero-day' strategy for learning c++ (at first I was also a little confused about the term zero-day).
The name zero-day does make sense in that there are zero days of me not doing x
So, for this strategy, I have to program something (doesn't matter how small) in c++ every day for a month. After that I'll do the same for python
Then I can make an educated decision of what programming language I like the most
I want to thank @teganburns for his c++ video about c++, that's the reason why I chose to try c++ first4 -
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 -
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 looking to get started on c++ but have a noob question.
Is there a difference between c++ in Linux vs Visual Studio C++...
kinda don't want to install a Linux OS/cygwin to do it, takes too much space13 -
Hello.
C++ is mysoginist, patriarchal and i propose the 'friend' keyword be removed as it oppresses weak people like me and the developers of lang are fkin racist neo nazis and hope they die in hell for what dey did.
It has just come to my attention that if a class declares another function or class as 'friend' the other func/class can access the private members of the said class. I haven't also coded even a day in c++ but that information is irrelevant as of now.
THIS IS VERY OFFENSIVE TO ME AND SENDS ALL THE WRONG SIGNALS TO SOCIETY. Just because i call you a friend does that mean you can grope me in public? How can women be safe if their private parts can be accessed by any of their friends?
WOMEN ARE OPPRESSED IN WORKPLACES AND I TELL YOU ITS ALL C++'S FAULT. I WILL NOT TOLERATE THIS BIGOTRY YOU FILTHY
UNCULTURED SWINE. IF THIS SHITTY KEYWORD IS NOT REMOVED I SWEAR TO GOD ILL HAVE THE MF PRESIDENT BAN C++ WHO DO YOU THINK WE ARE YOU FKIN MORONS.8 -
When you can't hack even a toaster so you use www.hackertyper.com to look cool at school but as you "write" the code you realize it's probably written in C or C#...5
-
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 -
About a year ago a co-scout gave me: an FM radio, a CD cover, tape and some other random bits, and proceded to say.
c-s: Build a metaldetector from this, I don't know how.
me: wat?
c-s: You know computers, right?
me: Yes, but that is not "computers".
c-s: How hard can it be? We need a guide on how to do it in a couple of hours. Good luck.5 -
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 -
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 -
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 -
Today I started setting up an environment to learn C. It's my first dive into anything more complex than PHP. Wish me luck!
Also, any hints for a beginner in C?10 -
my frontend colleagues always keep amazing me with their create way of writing code:
```
const input = "a";
const result = {
"a": () => console.warn("A was selected"),
"b": undefined,
"c": () => console.log("hello")
}[input || "c"]?.();
```
Poor man's switch construct ... (facepalm)16 -
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
-
Binding a C-library for a higher-level language:
10% Actually binding Functions and Types to their higher-level equivalents
90% Writing a fuckton of wrapper-code to secure that dangling pile of C that could collapse at any time -
Student dev : "C++ is C but with OOP features"
Teacher dev : "C++ is a OOP language, you'll loose points if you don't use OOP"
Me: "Time to leave this school"3 -
Overhauling a C++ project into C#. There is a lot of IntPtr logic being thrown around. In related news, I have the song "Do you believe in magic?" Stuck in my head.1
-
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 -
Started learning Python from Java, C#, Objective-C, Swift.
It’s like Rocket Engineer who have to build a car. It’s easy but you have to learn almost everything from the beginning.6 -
I had a CS teacher last semester that openly said she was just as much a beginner as us I'm C#. Oh right, I should probably mention that the course was C#...
-
Create a bug-free compiler for a Lang like c# but a little less overcomplicated and a lot faster. I don't believe a strictly typed and garbage collected language needs to be much less than half as fast as c++.2
-
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 -
Python irritates me when it comes to it's lack of visible typing. I'm a little too much of a C/C++ junky2
-
After many painful hours of fixing cmake errors, I've managed to successfully build 2 large C/C++ projects in a week. That shit hardens you.2
-
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 -
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
-
I'm writing c# code, does not work, wrote the same code in python just to see if I'm thinking the wrong way, nope, it worked in python then fixed the c# code...
I might be a c# racist or I don't know.2 -
I hate programming tutorials for a complicated language like c++ that are dedicated to absolute beginners of programming. If you've never coded before, why are you trying to learn c++?5
-
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
-
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
-
If only compiling a medium to big C/C++ library wasn't a fucking nightmare still in 2016, with all those slightly incompatible build tools that fail miserably on your machine...2
-
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
-
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 -
!rant
I will have almost 3 weeks of vacations coming up. For which I will TRY and understand the idea behind building a REST API using the Microsoft C++ cpprestsdk libraries.
The end goal? Be able to replicate a little project I got going in Node.js in order to compare how well it goes on C++, a language that I greatly fear on accord with how complex the syntax always looked to me :V The thing is, the first time I tried to learn programming was when I was about 17 and c++ was back then not the way to go for me. I sometimes wish I would have stuck to it, I k now enough to get by building and linking shit correctly, and of course the basic concepts are there, some advanced ideas are iffy but I should be able to get them going relatively well once I start working on the code.
I am using this tutorial as a basic guideline :D
https://medium.com/audelabs/...
Will be interesting to see. Always wanted to have something done with C or C++ that was bigger than any of my academic projects. Funny enough, I have a large collection of C++ books, but never really used them since they would bore me :V
Cheers putos! -
It's a fucking shame computed goto didn't make it into the C standard.
It's by far my favorite non-standard feature of C. Writing this VM would suck without it.17 -
My C adventure is going horribly. So I stopped. I took a second to breathe then looked at my current resources decided to use the 2 books i have as references to learn from as well, then found a reasonably long YouTube guide so I can have someone verbally explain something, and I have a friend and a few places I can now ask questions if I need it. So yeah I'm pretty confident now.rant c is a neutral entity in my life why did i choose this profession c why did i agree to this learning c7
-
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 -
I was failing all the test cases for a CS assignment where we had to implement our own methods for strings in C++. After an hour of debugging, turns out strings don’t end with ‘/0’ in C++ like in C.
Fuck my life.5 -
If I ever get asked to write code in C for a contract again. I am going to use the llvm C++ to C compiler. Then deliver the machine generated C code to them.6
-
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
-
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.
-
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 -
I wanna make a c+friends language and it'd be dev friendly and will throw lots of errors on compile to show love. Also it'll compile slower with each newline so you can always say "it's compiling" there will be classes but people instead and then instead of new I'll have create. As for loops let's go with a friendly do while loop and dontdo while as normal while or dowith i while to have a friendly for loop. Instead of ifs let's say decide() and instead of else let's have or. Instead of functions I'll have well you need no functions you'll have jumps and tests before jumps just like assembly has. Oh and everything will be a pointer because then it runs nicer. To create a variable you can't use = because that's the equal sign in decide you need to use "var int myint is 69" because why not. Then to print to the console "console.outputstream.out(myint)" instead of threads I'll have please like "please work" where work is a jump target. I hope you'll enjoy this language ^^
-
My company ex-IT Maintainer, left a long automation script in c++, bit of python 2, and bash for our server which developed long before i went to junior high school. and now, the system is outdated, and have a compability problems. so i got task to give it a fix.
when i opened the source code up. i was like; holy shit who the hell write a code especially c++ all aligned to the left, Yes All of it, not a single line are indented. but in the other side the code seems maintainable, and after autoformat, autoindent and couple of fix later, it was readable. I am just wondering who the hell in the world write a code with a style like that ???? i knew he was aware of code style and indentation since he wrote couple of python scripts. Unbelievable.
sadly i cannot show you the pict cuz of company things. -
Plugged in a type c hard drive.
Changed the drive letter from another internal hard drive.
Type c hard drive is locked from safe removal. Process "System" accesses .\$RmMetadata
Seriously? Microsoft?2 -
You see, I was never really good at C. It felt too low-level for me to enjoy.
Right now, I'm forced to do a school project with C. For the last ~10 compilations, I've gotten no errors, contrary to my first prior experience.
Maybe I'm getting better at C.
Or maybe C is getting the better of me.
Thanks for reading, I'm rly tired.2 -
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 -
C++ absolute madness. Most C++ devs are just writing hacky stuff, that isnt even near to a great solution...6
-
<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 -
so I started a side project a while ago.
the only thing it could do was to create some files with desired names and extensions. so this was basically a pretty simple editor.
I left this project with no future plans for a month or so until I started working on it again this week. I added comments to the editor, a console user interface.
the ui isn't futuristic. the program runs in the console. it just lists all the files and folders where the program is currently located in. in the beginning it could take user input and that input was the location where the files created in the editor would be saved. then I thought: it would be more interesting if I created a folder in which I saved the files from the editor. so I did this thing.
then I thought, again: hey, this console is pretty boring and stuff. why should I add some special commands? and so I did.
now you can create an empty folder, before you created a folder and saved at the same time the files created in the editor. now you can open another folder in which you can do the same stuff as before. you can get the current location of the folder you are currently in, so you don't get lost in your fancy computer. you can delete a folder completely, set color, reset color.
but one thing that I lost almost ONE FREAKING HOUR ON IT TO MAKE THE USER EXPERIENCE BETTER was the following: when creating a folder, either empty or with the files from the editor, the program automatically opens the folder, not in the console(hey, I didn't thought of that) but in the file explorer from the os. now it only works for windows and windows explorer because I used system(const char*). I know it's not portable or efficient but I just wanted things to work, I will optimise it later.
the thing that made me lose that one hour debugging was figuring out how to open that file.
ok, so I used windows api with GetCurrentDirectory, I knew how to use system, I knew how to form the path that would match up with the folder, I almost knew how to open the folder with system().
the problem was that I had the path complete, but if the folder had white spaces system() wouldn't recognise the freaking command!
so the string with the path would also contain the command used in system() and I would just .c_str() the string so it could work. as an example my wrong way to make the path was this:
"start C:\\path"
can you figure out what is the problem?
you don't?
it's just so trivial.
how cannot you figure it out?
of course you NEED to put "explorer" between the start command and the actual path!
pffft, you idiot! so easy to figure it out.
so yeah, the right way to open a folder is like this:
"start explorer C:\\path to heLL!!"
p.s.: I still don't understand why putting explorer works and without it doesn't. without explorer it just just says that path with the first word before the white space doesn't exist. -
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
-
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 -
from Windows host->run Ubuntu container A
-> from Ubuntu container A, run Ubuntu container B
-> from Ubuntu container B, run Ubuntu container C
-> from Ubuntu container C, run Ubuntu container D
-> ....
Recursion-mode ON16 -
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 -
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 taught myself C. I had a Commodor-64, and I bought a C compiler for it. My first project was a random character generator for the original D&D RPG. That was in 1985.
-
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 -
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
-
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 -
Is c a good language to learn. Or c++ or C#. What projects can you do with the languages i mentioned.9
-
A bit confused
I have a code and it is giving different answers in different language and compilers
the code is
Int a=4
Int b = ++a + a++ + --a
Please ignore the syntactical errors
But this logic give different answers in different compiler and language like in
C(turbo c++ compiler) it gives 12
C(gcc)- 16
Java- 15
Python- 12
Can anybody explain the logic behind this...10 -
There was a lady who had come for QA automation demonstration.
She was mentioning the languages used and uttered, C hash for C#...2 -
class smoking{
public static void main ( String []args){
int a = 2;
String c = "cigarettes";
if (a==2)
System.out.print ("go smoke "+ c);
else if (a <2)
System.out.println ("go buy some");
else
System.out.println ("error");
}
}10 -
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 -
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 -
How did you learn to think "like a programmer"?
I am starting to learn C++ and I am trying it out on exercism. I am really at the beggining but when I make it work after so much frustration(based on devrant posts I guess that's part of the job) I always see people having shorter/better/more effective codes which makes sense to me but I wouldn't thought of it that way.
Is there way to make such thinking better or does it simply come with practice ?6 -
<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 -
Does someone happen to know a book that goes deep in C, like really deep ?
I'd like to find the "JavaScript definitive edition" of the C language7 -
Spent a good part of a year developing some complex software in C for my employer only to find our environment supports C++; all I had to do was drop in a handy dandy "extern c". But why...
-
C is a procedure oriented language
C++ is a object oriented language
Then my question is the what is java?16 -
TLDR: Decision making is hard...
Get up at 7am, weather looks crappy but need go to the Drs today in NYC.
Original plan was to spend the morning in the park catching up on my reading list. Don't really want to goto the park now but lunch is still good? (Appt at 4pm, was only one left)
Walk into train station, pay for ticket. Get email from Drs saying he's sick...
Oh good... Except I already paid for the ticket.
Decide it's not worth it since weather is crap.
Walk out the station and... it's sunny... Fck...
Now what.... I can either go home and code or go shopping locally and eat out.
Currently decisions these and well shopping and eating out are also hard decisions... -
Any VB.Net developers found a job as C# dev.
Do you count your experience for .net as a whole? I feel if you know .net it's not a major difference between vb.net and c# it's just the syntax difference but I'm hesitant to apply for C# jobs based on my experience in vb.net. Any one with switch experience?20 -
!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 -
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 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
-
[EXPLODING BRAIN]
[1]
cout << a << b << endl;
[3]
cout << a + b << endl;
[3]
c = a + b;
cout << c << endl;
[4]
d = b + "";
c = a + "";
cout << c << d << endl;
[5]
d = b + "";
c = a + "";
e = c + d;
cout << e << endl;
[6]
a = "a";
b = "b";
c = pl;
d = pl;
c = a;
d = b;
e = c + d;
cout << a << b << endl;5 -
Converting all my side projects from C# .Net Framework to C# .Net Core (or Node.js) is a rewarding but long process.7
-
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 -
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 -
If you search for c tags, the first post is c#, even with "c".
Happens on every stackoverflow search too.
This is the only reason I don't like c. If I need help with a simple problem, 50 lines of template code is not the answer ;(4 -
Quirk of C++ (also C I think)
int array[]={1,2,3,4,5};
int temp = array[0]; //valid access
int temp2 = 0[array]; // also valid
C++ is a member of the Foot Shooters Club languages of choice.
Also, this weekend I learned you cannot have a vector of references:
https://stackoverflow.com/questions...
Well, at least not without some pain.5 -
How can we go to a new world?
No need death.
Just read a fantasy book
Or learn new programming language.
For example, if you're a php Dev, learn c#, Java or c++.
Believe me, it's a new world.2 -
!rant I've been meaning to learn Python for quite some time.
I've worked with Java, PHP, C, C#, JS, Ruby, even a bit of Lua. Any good books to recommend?3 -
I am a c# developer. Right now i am using windows 8.1. What will be the difference if i use ubuntu or mint distro to develop c# apps?28
-
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
-
Hey developers, am I allowed to make use of the pass-by-reference feature of C/C++ during a coding interview( given I am using C/C++ as my main language )?
I basically used python in my interviews, but this time I decided to go with C/C++.
now,
for those who gonna say "WRONG CATEGORY": most of you check rant rather than questions.
for those who gonna say "BUT YOUR NAME SUGGEST THAT YOU HATE C": bloody educate yourself.11 -
Started new job as software developer in a financial institution... Have to learn c#, c# devs here any good tips??7
-
If there are 1000 a , 2000 b , 3000 c in a program, how will you declare them in C ??? Simple but high level aptitude question. Lets see who answers it right.32
-
As a mainly object oriented programmer (java and c# mainly) having to do projects in c becomes a challenge..
-
!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 -
Noob alert !
Plz feed me some c# projects!!
Mayn i ve been only reading and learning from book(c# 7.0 in a nutshell) i feel like i need to implement the stuff i learned so paliz help me daddy !
Again i am noob simple uni projects would be fine!
Projects with oop datastructure and simple database would do the job!
But if you have better suggestions feed me !
Thanks :)26 -
So last semester for my English class, I had to learn a "new skill" and write an essay [the final] about it. So naturally instead of taking the time to learn something new, I just slapped together a c# (in which I'd say I'm already fluent) calculator app with winforms.
When it came time to present my "new" skill to the class, everybody was overimpressed. Then at the end of my little presentation, one guy goes "Oh! Is that all done in HTML?".
Without giving it a thought, I instinctively replied "No, it's a programming language". He just looked so confused after that. -
Fuck randomly appearing and disappearing bugs when I compile a project in C with no changes in the source code.
Fuck these microbits in the ass.
Took me three fucking days to battle them. Aaaargh!11 -
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 -
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 -
Does any of you happen to have a 2-3 page summary of the abstract rules of the C language? I could compose one myself but I'm lazy and my Google searches didn't succeed.7
-
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 -
Best part of being a dev?
The ability to browser through the file system of online c/c++ compilers 😅 -
started a dev apprenticeship recently: 3,5 days at work, 1,5 at school. using/learning c# at school. The title of the ebook they offer us to use: 'c# 2005'
wut? -
Okay so I want other opinions. So I've been studying for C++ competition and I don't know how to keep learning the language.. for python I just kept finding projects to do or picked a module to learn. But with C++ I was gonna work on the <random> and <string> libraries but after that I have no clue :/13
-
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 -
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??????
-
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 -
My unidirectional type-c cable. Essentially is a Type C to Type A-female adapter with a Type A to Type C cable plugged in, but with the plugs bypassed with a soldered joint.
Useful for devices that have Type C but refuse to implement protocols, just using 5v bus. They only work with Type A to Type C cables. Usually, they’re vapes and other low-cost devices.
I made this cable to charge my heated tobacco device. Now, since I quit smoking, I don’t need it anymore, but I’ll keep it nonetheless because it’s kinda neat.1 -
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
-
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 -
Hello Guys... Just wanted to have some opinions:
Considering long-term career stability, how does a Machine Learning engineer compare with a Software Developer ( C, C++, Java, Python, etc. ) & a Web Developer ( Java, JavaScript, SQL, CSS, Python ) ?9 -
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 -
I got a friend in the older class. He has C++ classes now. I’m constantly helping him, even though I don’t know C++ much 😂1
-
How fucking hard is it to find a good tutorial or at the fucking least a well documented resource for setting up a full-mesh VPN in either C or C++?
Any suggestions would be welcome.3 -
Kind of a followup on my earlier rant, it seems like my "teacher" doesn't even really know C++. He replied to me that "the code doesn't work", which is probably because the code needs the compiler flag for c++11 (I barely even know what I'm talking about here), which he would've known *if he looked at the error message*?!
Have I mentioned enough yet that I STARTED LEARNING C++ LITERALLY ABOUT 2.5 WEEKS AGO?!?! OTL5 -
Why do you have to use pointers in C++? Why doesn't C++ have a good garbage collector? Surely it has to be more advanced than C it has two more +s.....2
-
As a react native developer, do you think should I learn fundamentals of JAVA & Objective-C/C++(Swift) for coding some native plugins will need one day ?3
-
Was in a job colleague (just to bridge some time till i started my first apprenticeship). Got to play around with the Borland c++ environment... Went to the bookstore and bought a Introduction into C development book
-
On Windows, which one line input will get this code to print "Finally I get a sticker. Yayyyy!!!" immediately
#include <stdio.h>
int main()
{
char *c = (char*) malloc(sizeof(char) * 10);
int rants = 0;
while(rants<20)
{
printf("U don't want me to get a sticker?\n");
scanf("%s", c);
if(c[0] == 'y')
rants--;
else
rants++;
}
printf("Finally I get a sticker. Yayyyy!!!\n");
} -
A && (B || C)
Is there any way to get rid of the parenthesis?
I know how to remove the OR but the parenthesis are still there:
A && !(!B && !C)18 -
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 -
I'm a student pursuing my undergraduation in 1st year and learnt c language what will be the best language to learn after C16
-
!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 -
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
-
Can anybody explain why in C# when using string.Format("{0:C}", myNumber);
results in a string with special characters used for spacing instead of the normal space character.
This caused a issues in the PDF I was generating and I'm wondering why the special characters.4 -
It should be illegal to have a 12 year old documentation for an c++ API... even though it's my fault I suck at c++ ...
Bluesoleil , the only Bluetooth you are giving me is a rather unpleasant story.. -
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) -
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 -
"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
-
dude, C++ has evolved a lot, why don't companies move to C++ from java!
It's a universal truth that java's design sucks.14 -
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 -
Be me, a ret***
Already 3 months in a new position. (check my previous rant)
Storm have passed for a while but another storm is brewing.
C levels are having disagreement with each other.
Caught in the crossfire as one the of C's hire.
Have some chit chats with both side of C, each telling different stories.
C#1 told me there was a demand from C#2 to force tech guys (not defined who or how many) to resigns.
C#2 told me there is no plan to close the whole tech team. But there's a distrust brewing in the tech team especially on the C#1
Be me, C#1 hire...
Me telling them IDK what their real intentions are but there's a high probability for my reputation to be tarnished on the job Market.
I've always had good review amongst peers and confident I did and do a satisfactory job for my previous employer.
Be me:
Resorted to flexing my connection to high ranking (think of C suites) reference who I've worked and have good relations with.
Connected them to my C#2.
Dunno how the C#2 thinks of me and what my value to C#2 are.
Don't know what the future hold for me.
Tried doing one interview but topics of my reputation comes up because of me jumping to executive position without having "Manager" ever in my resume.
Got a bit too defensive on that and it might eff up my chance to have a backup ready in case I urgently need to jump ship.
Depression and impostor syndrome hits like a truck every day.2 -
Lua/ C
Java/ C
Swift/ Objective C
Visual Basic / C or something
C / C#
……..
👆last reversed yet, that looks like a funny face 😑…
Where, am I?…8 -
Actually told at work a few weeks ago, "if you use C++11/13 you don't really know C++". Pretty sure the last music he bought was by Ultravox.
-
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