Explore tweets tagged as #CPlusPlusTips
@MERTMUSATEMEL
Mert Musa Temel
2 years
To catch an exception and handle it, you use the ‘catch’ keyword followed by the exception type you want to catch and a block of code. Multiple ‘catch’ blocks can be used to handle different types of exceptions. #SoftwareEngineering #ResilientCode #CplusplusTips
1
0
0
@gicseh
Global Institute AI
1 year
Did you know C++ offers over 35 operators? From arithmetic to logical operations. Join GICSEH and learn how to use them effectively. #GICSEH #ProgrammingTips #CplusplusTips
0
0
2
@mahojase
Maho Jase IT
1 year
0
1
1
@MegaColorBoy
Abdush Shakoor
13 years
Solved a binary search bug.....Simple, use any sort algorithm/method ! =D #Cplusplustips
0
0
0
@devhubbycom
Devhubby
9 months
Can static constexpr in Cython be exposed if we promise not to judge its browser history? Source: https://t.co/cTWPWiticj #Cython #CPlusPlusTips #TechTalk #Tech
0
0
1
@mahojase
Maho Jase IT
1 year
0
0
0
@iamhper
花太香
15 years
避免直接在头文件中定义全局变量,应尽量在cpp里定义,再在头文件中加extern修饰。这么做能解决常见的error LNK2005 already defined。 #cplusplustips
0
0
0
@tomasantunes89
Tomás Antunes
1 year
Consistently use RAII(Resource Acquisition Is Initialization) to manage resources, prevent memory leaks and keep your code clean and secure. #CPlusPlusTips
0
0
0
@CProgramming1
C++ Programming
6 years
Top 3 Tips for #Cplusplus C++ 1: Don’t Confuse Assign (=) with Test-for-Equality (==). 2: Do Get Rid of “Magic Numbers” 3: Don’t Rely on Integer Division (Unless That’s What You Want) #learntocode #cprogramming #ctips #cplusplustips
0
1
4
@akshayxml
Akshay M
2 months
In C++, when using `auto` with templates, if you're unsure of the type, use `decltype(auto)` instead, as it preserves the exact type, whereas `auto` might deduce a different type. #CPlusPlusTips #Templates
0
0
0
@ArtakAvetyan
Artak Avetyan
2 months
1
1
1
@CProgramming1
C++ Programming
6 years
C++ Tips It is not necessary to include a header file in C++ Program at all. A header file is included if only the program intends to use the function or macros etc.defined in that particular header file. #learntocode #cplusplus #cprogramming #programmer #cplusplustips #code
2
2
6
@cplusplustips
CPlusPlusTips
12 years
C/C++言語の入門書は、こちらがおすすめ。 http://t.co/2x5jxfvKga
0
0
0
@TonyMunozDev
Tony Munoz
12 days
🔥C++ for Beginners🔥Start the journey HERE! Watch this: https://t.co/1CG9kn1oE4 Perfect if you plan to code in Unreal Engine to create games👍😎🎮! #gamedev #gamedevelopment #cplusplustips #IndieGameDev #UnrealEngine #UnrealEngine5 #unrealenginebeginner
0
0
2