Anonymous
Hello everyone, I've got a question I love python but i'm learning c++. I am not interested in c++ Is it necessary to learn it?
AushaTeam's developer@(巴尤)
Need help pls to compile this source in windows 64bit ?? https://github.com/pgarba/King
Tangent Alpha
Hello everyone, I've got a question I love python but i'm learning c++. I am not interested in c++ Is it necessary to learn it?
well, c++ is not one of the easiest language out there and you already know one object oriented programming language so maybe it is not necessary for you
Harsh
/notes
Crbala
/get -best-book
Mahsun
/get - cppbookguide
24_05_01_3
/howtopostcode
Bruno
/get - cppbookguide
#cppbookguide
...
#cbook
Anonymous
/get cppbookguide
Anonymous
/get calling function
Anonymous
/get callingfunction
Anonymous
Is this group owned by some website?
YasszxD
/learn
M
that's a pretty good visualization!
YasszxD
/learn
Anonymous
/learn
ninja
/learn
int user_entered_number = 7 it will print —> 1231231 user_entered_number = 10 it will print —> 1231231231 any Logic Idea ? without counter veriable and array ….
Help me
Pavel
int user_entered_number = 7 it will print —> 1231231 user_entered_number = 10 it will print —> 1231231231 any Logic Idea ? without counter veriable and array ….
UPD: this doesn't work, I missed the point that it's not reversed cin>>num; while (num>0) { --num; cout<<(num%3+1); } You probably need a counter anyway, or write it to a string and then reverse (but it would count as array)
Marlon
/notes
Engineer
https://justine.lol/cosmopolitan/index.html
Engineer
Getting Started Assuming you have GCC on Linux, then all you need are the five additional files which are linked below: # create simple c program on command line echo ' main() { printf("hello world\n"); } ' >hello.c # run gcc compiler in freestanding mode gcc -g -Os -static -fno-pie -mno-red-zone -nostdlib -nostdinc -o hello.com hello.c \ -Wl,--oformat=binary -Wl,--gc-sections -Wl,-z,max-page-size=0x1000 \ -Wl,-T,ape.lds -include cosmopolitan.h crt.o ape.o cosmopolitan.a # ~40kb static binary (can be ~16kb w/ MODE=tiny) ./hello.com The above command fixes GCC so it outputs portable binaries that will run on every Linux distro in addition to Mac OS X, Windows NT, FreeBSD, and OpenBSD too. For details on how this works, please read the αcτµαlly pδrταblε εxεcµταblε blog post. This novel binary format is also optional: conventional ELF binaries can be compiled too by removing the -Wl,--oformat=binary flag. Your program will also boot on bare metal too. In other words, you've written a normal textbook C program, and thanks to Cosmopolitan's low-level linker magic, you've effectively created your own operating system which happens to run on all the existing ones as well. Now that's something no one's done before.
Engineer
https://github.com/jart/cosmopolitan
ㅤㅤㅤ
Any good course for pointers?
Anonymous
A course for pointers... Really?
Anonymous
Is there any course for integers???
Pavel
Is there any course for integers???
A course for floats would make sense at the same time :)
Anonymous
A course for floats would make sense at the same time :)
Don't think it would make sense in terms of C++ But in terms of Computer Architecture — maybe
ברני
Is there any course for integers???
lol First lesson: int num =1 ✅ int num =1.4❌
Pavel
Any good course for pointers?
https://www.quora.com/How-do-I-understand-pointers-in-c-program
Pavel
Don't think it would make sense in terms of C++ But in terms of Computer Architecture — maybe
Yeah, I mean "everything you need to know about floating point math", how they work and why there are floating point precision, what special values floats have and what's the difference, ways to compare them
Tangent Alpha
wow this gif is pretty good for beginners
Igor🇺🇦
Any good course for pointers?
Try this talk https://youtu.be/rqVWj0aVSxg.
Okay someone ask me this question so I just put in this group soni get the answer
Igor🇺🇦
So how it possible through java
What does Java have to do with it? It's a c++ group. If that's a java question ask people in Java group
Ranmuni Imesha Udayanga
Qt libraries wala source codes ewannako
Ranmuni Imesha Udayanga
Qt libraries source codes send to me
Tahmedur
Hi
Tahmedur
I want make a game with the concept of OOP
Tahmedur
Can anyone help me with that?
Apk
I want make a game with the concept of OOP
what game and what is the issue you are facing?
Tahmedur
2D game with graphic.h and it follows all oop concept
Vlad
y tho?
Tahmedur
yah
Apk
yah
graphics.h is outdated
Vlad
yah
That header is probably older than you are
Tahmedur
But i need to use this for use my game
Tahmedur
Yah
Vlad
Yah
Then do it like bitmap graphics I suppose
Tahmedur
But in my project they just allow me to use graphics.h
Vlad
But in my project they just allow me to use graphics.h
Putpixel and Readpixel functions aren't rocket science
Tahmedur
We have to implement oop concept
Apk
But in my project they just allow me to use graphics.h
just see some tutorials or something over the net....I never liked doing that....just did this to get by
Tahmedur
Ok
Apk
and if you face some issue you can ask here
Vlad
We have to implement oop concept
Implement sprite class, and gameobject class with polymorphism and such
Igor🇺🇦
Qt libraries source codes send to me
You could have used search engine https://wiki.qt.io/Get_The_Source
Mahsun
/get - ossu
S
Thanks
Anonymous
mov $22, %rax
https://paste.debian.net/1178652/ I've written this function to turn a char* Buffer into a char** array of lines, but it doesn't work. Can you spot the error?
mov $22, %rax
https://paste.debian.net/1178652/ I've written this function to turn a char* Buffer into a char** array of lines, but it doesn't work. Can you spot the error?
Here is the function I use to free it: void freeLineBuffer(char** LineBuffer, int Lines) { for(int i = 0; i < Lines; i++) free(LineBuffer[i]); }
Anonymous
int user_entered_number = 7 it will print —> 1231231 user_entered_number = 10 it will print —> 1231231231 any Logic Idea ? without counter veriable and array ….
#include <stdio.h> int main() { int n,i; printf("Enter a no. "); scanf("%d",&n); int j=1; for(i=1;i<=n;i++,j++) { printf("%d",j); if(j==3) j=0; } return 0; }
Anonymous
I hope this solves your question