olli
Free and as detailed as it can get - happy reading
Mihail
olli
Mihail
The part where it points you to the pages
olli
klimi
Dima
Take it right to an action
Cory
Any PDF for c++ gui or Windows programming ?
Anonymous
have anybody remember the Program of 烫
Anonymous
Suraj
Hiii
Suraj
I'm new follower
Anonymous
Can anybody teach me the haffman
Anonymous
Anonymous
I just dont know what I can write to the parents
klimi
klimi
Hi talent
Anonymous
You have any other channels on python,java,c#
Anonymous
Etc
Mat
Anonymous
hello
Anonymous
is there any other MATLAB channels???
Niko
We don't do that here
Niko
🤭
Anonymous
Anonymous
Wakanda Forever
Anonymous
Mat
Javier
Hi. I'm trying to implement a function which reads this kind of input:
ab, c , d
The output should be a vector with just the words (no spaces nor commas). I've try this:
std::string temp;
std::vector<string> v;
while(getline(std::cin >> std::ws, temp, ','))
{
v.push_back(temp);
}
For no reason, it's not working and dunno why. Help would be aprreciated.
Alejandro
Mihail
Javier
Dima
Wtf getline with cin
Javier
Wtf getline with cin
It's weird coz that code worked when I try it in a mobile ide. I use that code an then print elements and it worked as I expected.
Anonymous
what is the best copmlier i can use to start programming language
Morasaky
just use codeblock it has a compiler in it
Anonymous
Mat
Anonymous
More precission than other
Anonymous
Ok
Abrelo_a
Medina
anyone know bout client and server?
Medina
using c++ in linux?
BinaryByter
#meta
klimi
thats horrible video
Anonymous
A link for video lectures on C
Dima
Dima
klimi
Anonymous
I am human
Mubeen
Thespartann
/notes
Anonymous
#cpp
Dima
Anonymous
#include <pthread.h>
#include <stdio.h>
#define NUM_THREADS 5
void *PrintHello(void *threadid)
{
long tid;
tid = (long)threadid;
printf("Hello World! It's me, thread #%ld!\n", tid);
pthread_exit(NULL);
}
int main (int argc, char *argv[])
{
pthread_t threads[NUM_THREADS];
int rc;
long t;
for(t=0; t<NUM_THREADS; t++){
printf("In main: creating thread %ld\n", t);
rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
if (rc){
printf("ERROR; return code from pthread_create() is %d\n", rc);
exit(-1);
}
}
/* Last thing that main() should do */
pthread_exit(NULL);
}
i dont get it. Line 20,
PrintHello
doesnt give argument, it can print number.
Anonymous
whats the offtopic link of the group?
Anonymous
Anonymous
Thanks
Stefan
#include <pthread.h>
#include <stdio.h>
#define NUM_THREADS 5
void *PrintHello(void *threadid)
{
long tid;
tid = (long)threadid;
printf("Hello World! It's me, thread #%ld!\n", tid);
pthread_exit(NULL);
}
int main (int argc, char *argv[])
{
pthread_t threads[NUM_THREADS];
int rc;
long t;
for(t=0; t<NUM_THREADS; t++){
printf("In main: creating thread %ld\n", t);
rc = pthread_create(&threads[t], NULL, PrintHello, (void *)t);
if (rc){
printf("ERROR; return code from pthread_create() is %d\n", rc);
exit(-1);
}
}
/* Last thing that main() should do */
pthread_exit(NULL);
}
i dont get it. Line 20,
PrintHello
doesnt give argument, it can print number.
undefined behavior
Jay
Jay
Jay
Can someone help please
Ибраги́м
C2x – The next real revision of the C standard
https://gustedt.wordpress.com/2018/11/12/c2x/
https://redd.it/9wjfi6
@r_cpp
Errol
Hi there. Quickly, I want to write a short program that prompts number of players first, and lists all their names using for loop. So my question is how can i use the %s to call a specific player's name later on in the program, since players will also be dynamic, per game. How to set a variable name for that?
Errol
Someone said i should use global variable, I'm still not sure though...
Errol
In C language.
Otumian
What do you guys think about this, especially max and klimi
olli
Otumian
olli
Nothing that gets me too excited since there isn't any change that I would desperately need.
It is still C with all its (dis-) advantages and things to love about it
olli
Anonymous
Sir / madam
Plz send all program in 'c' language
Dima
Dima
My first warn lol
Dima
Congrats me
BinaryByter
you are an admin?
BinaryByter