klimi
your program says "input it separated by comma" and you put space there... maybe that's why
.....💔.....
Hi, I am student of CS 1st semester . Any buddy help me to clarify the concepts of loops, if statement, conditional statement and array. Please help me. Because on 9th March starts mid exam.
Tushar
see lecture on youtube
Tushar
there are way better than what we can make you understand through telegram
⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠
Tushar
mycodeschool is good
Tushar
for arrays you can refer it
Tushar
oh wait its in C
Tushar
just a min
.....💔.....
Ok
Tushar
https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ
Tushar
can refer this
Tushar
for conditional statements
Tushar
are we allowed to send pdf file of MIT opencoursewave here?
coal
but i dont think you can upload files so you'd need to link it instead
Tushar
Okk
Tushar
Tha ks
Наталья
Hello everyone, who can help with the task in turn, stacks?
.....
Hey guys I'm new
Dima
Hey, I am malloc
Anonymous
فيه حدا بحكي عربي ؟
Deepak
https://pastebin.com/QL9vfq1A How to print Total Marks and Grade ? plz someone help me
Deepak
ok, can you solve that problem ?
100$ website
ok, can you solve that problem ?
@coalio he may solve it
coal
@coalio he may solve it
im out of time right now though
coal
ok, can you solve that problem ?
if you can formulate a specific question i can answer it
神 ꜰʟᴀꜰꜰʏ
guys, can u help me, pls
神 ꜰʟᴀꜰꜰʏ
m = { 16, 78, 99, 6, -29, 19, -52, 65, -88, 51, -79, -22, 32, -25, -62, -69, -2, -59, -75, 89, -87, 95, -22, 85, -49, -75, 76, 73, -59, -52, 30, 49, -28, -48, 0, 57, -6, -85, 0, -18, -97, -21, -95, 64, 22, -2, 69, -84, -1, -71, -25, 47, 72, 43, 15, -44, 44, 61, 4, 74, 88, -61, 0, -64, -83, 97, 0, 90, 15, 8, -54, 19, 73, 35, -67, -87, 85, -99, -70, 10, 98, 58, -10, -29, 95, 62, 77, 89, 36, -32, 78, 60, -79, -18, 30, -13, -34, -92, 1, -38}; From one-dimensional to form a two-dimensional array [10] [10]. Find the sum of all the elements lying above the main diagonal. Using pointers
神 ꜰʟᴀꜰꜰʏ
c++
Nisim
Good link to simply Gui cpp?
Anonymous
What is the best resource for learning C++ language?
Anonymous
Prince Of Persia
Hhhh
😐
Anonymous
😐
شكلك عربي
100$ website
What is the best resource for learning C++ language?
github c++ , w3school c++, YT, google
%Nikita
Hello, programmers! Usage of “…” is to create a function with variable count of arguments. But I just saw this code: #define MH 7 uint8_t vals[MH] = {[0 … MH] = ‘7’}; fwrite(vals, sizeof *vals, MH, stdout); gcc main.c -O0 -std=c11 -Wall -g Output: 7777777 After a while I finally understand that [ 0 … MH] gives us all elements in range from zero to MH and we instantly set these to ‘7’ characters. I searched about this but only thing that I found was about functions ( not array initialization ). I know trick like: int a[5] = { [4] = 618 }; It gives us 4 element of array and we instantly set these to 618. But example with … operator was really weird. What “…” actually means to compiler? Is it operator? Why can’t I find it in operators table of C11? And if it gives me some range of array code below doesn’t work? arr1[0 … m] = arr2[0 … m2];
%Nikita
where did you see that code
In solution on codewars.com
\Device\NUL
What is the difference between int main main void main.
The right one is int main, since the standard defines that main should return int
\Device\NUL
#include <stdio.h> #include <string.h> void main(){ char aaa[8]; printf("Write smth: "); fgets(aaa,8,stdin); int result = strlen(aaa); printf("%d\n",result); }
If fgets encounter newline, it will be written to the buffer. If the buffer len isn't enough, it will be remained in the stream. I suggest you to use scanf with max field width to input string safely. Btw strlen() return size_t , not ,int
Anonymous
Who can create a calculator for me with a gui?
Anonymous
just use your system’s calculator lol
Anonymous
Because I need it to shows all permutations and combinations of the input string
Anonymous
Can anyone teach me C programming?
%Nikita
Can anyone teach me C programming?
I think the best way to learn C is first of all watch introduction to C programming small playlist on YouTube. Then read book “C programming language” to understand more concepts. And of course lots of practice
Anonymous
I think the best way to learn C is first of all watch introduction to C programming small playlist on YouTube. Then read book “C programming language” to understand more concepts. And of course lots of practice
Yeah thanks buddy.. I'm doing that. Everytime i go through different problems...i find new words or terms...or new steps ...it gets harder to digest
%Nikita
Yeah thanks buddy.. I'm doing that. Everytime i go through different problems...i find new words or terms...or new steps ...it gets harder to digest
The same. When I think that I don’t really understand some new complicated theme I go online to find a better explanation to me. I can recommend you “Jacob Sorber” YT channel. He has lots of videos with explaining some theme that lots of people don’t understand or it is just weird :/ Videos with “make” “gdb”, inline keyword, static and extern keywords helped me a lot. He has interesting style of explanation and very understandable. Also if you are interested in embedded systems developing especially on C - lots of videos too with advices and good practices. On Instagram I can recommend you “IT challenges” account. Sometimes he makes challenges with C programming language, and people in comments try to guess the output of confusing program above. I knew lots of things from he. If you are interested in programming in hall (not only C) - you may like Abi “ForGoodCode” Instagram account. He write interesting stories and advices for beginners. “Bisqwit” YT channel is one of my favorites. There you can find some videos explaining hard algorithms like ray casting or portal rendering on C. Also he likes old things and retro-computing. This channel is presented C++ concepts too, not only C. Also I learned a lot from “Tsoding” YT channel. He has educational streams on twitch, and he post those into YouTube too. He writes programs live, I noticed some interesting C features he used. Also he is explaining all stuff he just wrote. He program interesting projects like Mini excel engine, obfuscated hello world, his programming language, white noice generator on SDL, ray-casting on RayLib and so on Hope these will help you better understand some difficult C theme/word/concept.
Anonymous
The same. When I think that I don’t really understand some new complicated theme I go online to find a better explanation to me. I can recommend you “Jacob Sorber” YT channel. He has lots of videos with explaining some theme that lots of people don’t understand or it is just weird :/ Videos with “make” “gdb”, inline keyword, static and extern keywords helped me a lot. He has interesting style of explanation and very understandable. Also if you are interested in embedded systems developing especially on C - lots of videos too with advices and good practices. On Instagram I can recommend you “IT challenges” account. Sometimes he makes challenges with C programming language, and people in comments try to guess the output of confusing program above. I knew lots of things from he. If you are interested in programming in hall (not only C) - you may like Abi “ForGoodCode” Instagram account. He write interesting stories and advices for beginners. “Bisqwit” YT channel is one of my favorites. There you can find some videos explaining hard algorithms like ray casting or portal rendering on C. Also he likes old things and retro-computing. This channel is presented C++ concepts too, not only C. Also I learned a lot from “Tsoding” YT channel. He has educational streams on twitch, and he post those into YouTube too. He writes programs live, I noticed some interesting C features he used. Also he is explaining all stuff he just wrote. He program interesting projects like Mini excel engine, obfuscated hello world, his programming language, white noice generator on SDL, ray-casting on RayLib and so on Hope these will help you better understand some difficult C theme/word/concept.
Firstly thanks a lot man for all these recommendations... I'll definitely go watch their videos...❤️
%Nikita
Simple program or complicated project?
%Nikita
Maybe I can explain you an algorithm to solve your problem. What problem do you have?
%Nikita
No, I am middle self-taught programmer, who just want to know more. Programming is not my job
Prince Of Persia
I'm sure if you share your problem here someone will help you
David
Can you share with me any places that you use for finding C++ jobs?
神 ꜰʟᴀꜰꜰʏ
The user enters a string from the keyboard - a sentence with spaces and punctuation marks up to 100 characters long. Print every third word on the screen. Need to be done through pointers. Can anyone help me? Please :)
Anonymous
https://pastebin.com/DJzhM3ZA
Anonymous
mat. getdata() is working, but mat. print() is not ...can anybody help!?
Anonymous
mat. getdata() is working, but mat. print() is not ...can anybody help!?
Line 21 must be b[ i ] = new int[m]; and not b = new int*[m];
Anonymous
I want switch Chinese input methodto English
Anonymous
use this #include"atlstr.h" #include <iostream> #include "imm.h" #pragma comment(lib,"imm32.lib") int main() { HWND h = (HWND)GetForegroundWindow(); int a= ImmSimulateHotKey(h, IME_CHOTKEY_IME_NONIME_TOGGLE); std::cout << a << std::endl; }
Anonymous
but can't worked
\Device\NUL
レッギ
Whats name of (. . .) In func arg ?