text file into an array in c++?
easy way fscanf
it depends on size of file and operation u want do
oh columns easy way fgets in loop then sscanf
Hello , i have been writing this programme which sorts an array of numbers in a stake using predefined instructions , like add elements to the top of the stake , remove , ...
hello, does someone have a good cheat sheet (max 2 sides of A4 paper sheet) for C only? I need it to cover most useful function for math, dynamic memory, strings, files (I/O),...
I often see on the Internet that Steven Prata’s book C++ Primer Plus is a bad book for learning, tell me, is this true? links with negative information about the book https:...
I think I should check if it is null ??
hey there! trying to get by domain ip address of host int main() { int i; struct hostent* he; struct in_addr** addr_list; struct in_addr addr; int port = 80; he...
main.c #include <fenv.h> #include <stdio.h> int main(void) { constexpr float f = 23.0f; constexpr float g = 33.0f; fesetround(FE_TOWARDZERO); constexpr float...
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (E:\VSCODEINSIDE\TELEGRAM\BOT\hdi.cpp can anyone help me with this ?
Why do we need casting and what is the exact application in C++ of this Can anyone please help?
what better? enum class StateEnum { X=0, O, NONE,COUNT}; constexpr std::string_view get_string( StateEnum state, const std::array<std::string_view, 3>& arr) { retur...
🎉🚀 Grande nouvelle ! Notre équipe participe au Bal des Projets 11e Édition à ESPRIT : École supérieure privée d’ingénierie et de technologie ! 😍 Je compte sur vous et votre s...
Обсуждают сегодня