Nomid Íkorni-Sciurus
ask
I'm developing a program which does not require external libraries in order to work. I actually just need the standard library and reading a file. This program is not going to be really complex, it's really just a text file parser. I need it to work on Windows as well on Linux. What environment would you recommend to me?
klimi
what environment? what do you mean by that?
Nomid Íkorni-Sciurus
what environment? what do you mean by that?
IDE/Compiler if that really makes the difference - I don't know
Anonymous
For an IDE you can use CLion or Qt Creator
Dima
Anonymous
For compiler — clang or g++ & MinGW
Nomid Íkorni-Sciurus
For an IDE you can use CLion or Qt Creator
it's a console application though, I'm not sure for Qt Creator
klimi
IDE/Compiler if that really makes the difference - I don't know
doesnt matter really if it supports those platforms you are fine
Nomid Íkorni-Sciurus
For compiler — clang or g++ & MinGW
I thought mingw would not be comfortable on windows
Anonymous
it's a console application though, I'm not sure for Qt Creator
So? You can use Qt to build console applications And you can use Qt Creator to write pure C++
Nomid Íkorni-Sciurus
Anonymous
isn't 3gb of Qt too much for such a small application?
You are not forced to download Qt to use Qt Creator
Nomid Íkorni-Sciurus
Then use Dev-C (😖)
isn't that like, deprecated?
Anonymous
Maze Assignment - Emids interview question
Anonymous
Plz help me to solve this
Anonymous
Anonymous
Write a 3,5,7prrograme
Dima
/warn Why retards won’t read the rules
Anonymous
/warn
Dima
/warn
are you silly?
Anonymous
eh
Giorgiogiulio
Hello everybody!, Anyone have used conan.io? any insight?
Anonymous
https://img.kingdev.nl/NVIDIA%20Share_2019-11-03_19-16-06.png
Anonymous
The left plane is suposed to be at the back
Anonymous
Somehow opengl is rotating everything in my world
Anonymous
Anonymous
I know the vertices are fine that iv'e defined as i used those before.
Anonymous
Hello everyone I need your insight on how to implement the KNX sensor, which has two dimmers of light (dimming) function through the Arduino UNO using KNX standard for communication. Do not use Arduino implementation functions. If you have any ideas or can you guide me on how to start this project and can you tell me what software to use for doing this project.
Anonymous
Just google it
01000001011011010100000101101110
#googleit
Anonymous
return answer[0] == ‘y’; if i see this in a function , does this mean the function only return answer[0] if its equal to y ?
Anonymous
Anonymous
klimi
XD
Anonymous
with xdg-open , is there a way to open more then one file at a time in mac OS i can do open file1 file2 xdg-open seems to only work with one file at a time i am new to linux, currently using fedora 31 on vitural box with macOS catalina as my host machine
klimi
With c++?
Nameful
std::ifstream
klimi
Read line by line, plot by some delimiter
klimi
I dont know how to do it cuz I use python
klimi
You can probably google it tho
Nameful
Look up how to use ifstream
Nameful
Show us what you tried then
Anonymous
😁
Anonymous
Hello
Anonymous
Please suggest me a big data project using machine learning
Anonymous
What of linking c++ program with the database
Anonymous
Is this a question?
yes am asking how can i link the database with the c++ program
Ilya
yes am asking how can i link the database with the c++ program
There are many ways... Most generally, try using ODBC
Ilya
yes am asking how can i link the database with the c++ program
Or you can try Qt which has its own unique stack of c++ wrapper classes over different databases
Gaaithu
ABC(checkResult.sErrorMessage.c_str()) How do I return the error message?
Anonymous
Hey i have one query regarding c programming
Anonymous
I m learning c
Anonymous
// please check the error. #include<stdio.h> #include<conio.h> void function1(); void function2(); int main() { int a ; printf("enter any number to continue\n :"); scanf("%d",&a); if(a<=10){ void function1(); } else{ void function2(); } void function1(); getch(); return 0; } void function1(){ printf("entering in function1 \n"); printf("hello world \n"); } void function2(){ printf("entering in function2 \n"); printf("hello abhishek \n"); }
Anonymous
Function is not executing
Anonymous
Anyone ?😞
Anonymous
Pastebin? is it for programming .
Anonymous
Sit
Anonymous
Use a pastebin
Is it for programming sir
Anonymous
Function is not executing
It is not executing because you are not calling it
Anonymous
It is not executing because you are not calling it
How to call ? Any function ? Can u please write an eg.
Anonymous
Thank u
Anonymous
Now its working .....😊
Anonymous
Question:
Anonymous
Given an integer array A of size N, find sum of elements in it. Input: First line contains an integer denoting the test cases 'T'. T testcases follow. Each testcase contains two lines of input. First line contains N the size of the array A. The second line contains the elements of the array. Output: For each testcase, print the sum of all elements of the array in separate line. Constraints: 1 <= T <= 100 1 <= N <= 100 1 <= Ai <= 100 Example: Input: 2 3 3 2 1 4 1 2 3 4 Output: 6 10
Anonymous
My answer was:
Anonymous
#include <stdio.h> int main() { //code int T,i,k=1,n,sum; scanf("%d",&T); int arr[n]; for(k=0;k<T;k++) { sum=0; scanf("%d",&n); for(i=0;i<n;i++) { scanf("%d",&arr[i]); sum = sum+arr[i]; } printf("%d\n",sum); } return 0; }