Anonymous
Hi all
Anonymous
I am new members
Mj
Hello I want simple ideas for my project Thank you 🙏🏻
Andrew
wich project?
Talula
Hello I want simple ideas for my project Thank you 🙏🏻
Print "Hello, World" on screen.
Mj
Project for evaluation
Mj
University
H
Print "Hello, World" on screen.
is the last board on profile for medical majors?
Talula
is the last board on profile for medical majors?
No... it's for security system.
H
No... it's for security system.
which one? so why didnt use any FPGA .. I think that black board have a antenna , that is RF board.
Hasan Emre
I have java code. But it doesn't work. Can you help me if I throw it here?
Anonymous
@en_it_chats
Hasan Emre
Engineer
What is the #include_next for?
Anonymous
What is the #include_next for?
Why would you even use non standard C or C++?
Anonymous
What is the #include_next for?
https://rules.sonarsource.com/c/tag/lock-in/RSPEC-3730 And learn how to use Google
Vinay
😂
Engineer
https://rules.sonarsource.com/c/tag/lock-in/RSPEC-3730 And learn how to use Google
That's good information, especially now I have come across C static code analysis With you kind guidance🤓
Engineer
Why would you even use non standard C or C++?
I am working on a RISC V processor compiler
Anonymous
I am working on a RISC V processor compiler
And why do you need non standard C or C++?
Anonymous
And why you don't use existing compilers?
Anonymous
Why would you even use non standard C or C++?
Hey I have a question. Is there common and uncommon adaptations of C++?
Anonymous
Hey I have a question. Is there common and uncommon adaptations of C++?
I don't know what you mean about adaptations
Anonymous
I don't know what you mean about adaptations
I don't get what you meant about standard and non standard
Anonymous
Is there a problem with non standard? Just checking
Damo
Is there any institute good in training of Linux device driver
Anonymous
It's not portable
Anonymous
And you cannot rely on it
Anonymous
It's not portable
Oh so only on one operating system?
Anonymous
May be on only one version of a compiler
Anonymous
May be on only one version of a compiler
Then why does it exist? Is it for people who prefer certain operating systems like windows and Mac?
H
Oh so only on one operating system?
not just platform , it has more problems too ... but best reason is that : it cant be portable .
Engineer
And why do you need non standard C or C++?
I am creating a new CPU hence need this but the information I have is limited. I am 19 years old...
NicoBellic
/get ide
Andrew
I am working on a RISC V processor compiler
That looks complicated, are you writing a compiler?
armandofsanchez
Iot project?
Ehsan
I am working on a RISC V processor compiler
https://github.com/riscv/riscv-gnu-toolchain five seconds search
Engineer
https://github.com/riscv/riscv-gnu-toolchain five seconds search
Thank you, but I am doing a custom command, I am also learning FPGA design
Engineer
care to elaborate?
Please take a look at that paper
Engineer
https://github.com/ARM-software/u-boot/blob/master/doc/README.xtensa
Engineer
care to elaborate?
https://en.m.wikipedia.org/wiki/Tensilica_Instruction_Extension
AHMED
#include <iostream> #include <fstream> #include <string> using namespace std; int main() { fstream myobj("myfile.txt"); string mystring; while (myobj) { getline(myobj, mystring); cout << mystring << endl; } }
AHMED
The output is empty
AHMED
But I have created a word document called myfile.txt and wrote some words in it.
Anonymous
Your word document is myfile.txt.docx
AHMED
Your word document is myfile.txt.docx
I figured that , but the same empty output.
Anonymous
I figured that , but the same empty output.
You can't open word documents like this lol
Anonymous
Word is a complex file format It's not just text inside There's a lot of going on in a word file
Anonymous
If you need to read this, use special libraries But with your language knowledge it'll be a hard task
AHMED
#include<iostream> #include<fstream> #include<string> using namespace std; int main (){ fstream myobj1{"myfile.txt", std::ios::out}; myobj1<<"My first line.\n"; myobj1<<"My second line.\n"; myobj1<<"My third line.\n"; fstream myobj2{"myfile.txt"}; string s; while(myobj2){ getline(myobj2, s); cout<<s<<endl; } }
AHMED
This also yielded an empty output.
AHMED
Ok . I figured the solution
AHMED
Closing the file before trying to read it will solve the problem
JR
Hi, I'm implementing the mean square method in my homework. It consists of squaring a number, for example, 2152, which yields 4631104; the length of the number is 7, but must be 8, thus we add a 0 on the left, that yields 04631104, then we extract the middle number (Not the digits), which is 6311, then we square that number and so on. My question: Is there a way to add a 0 in case the number's length is 7, 6, 5, etc. and then get the middle number? I reckon I could use the modulo operator, but I'm not sure.
JR
Thanks, that's what I'm currently doing.
MRT
try mscv
fixed, thank
Vlad
@254
/sorry
H
fixed, thank
not fixed , just removed problem when you going to create that code cross platform(like gcc in linux ...) this error occure again . be careful if you cant use c++ as its feature(like portable programs) , then use c# or anything like that is easier than cpp ...
Park-Kim
Anyone has karaoke module for karaoke project ?
Park-Kim
Especially about the dual display😬
H
No, if I give any problem I try to fix this, u can use c# :-)
lol but you chnged compiler and said: fixed.
MRT
:)) be successfull.
Thanks ❤️
AHMED
I want recommendations for books to learn android app development using the c++ language.