Anonymous
Plz ans
Álvaro
Hi, can somebody help me out compiling Ncat statically?
Álvaro
I'm dealing with the following tutorial: https://secwiki.org/w/Nmap/Ncat_Portable but lots of errors are thrown from nsock
Álvaro
The majority of them are C4430, C2143 and C2238 (I have the IDE on other language so I cannot copy exact messages)
バレンタインがいない柴(食用不可)
🐈 meow programmers
バレンタインがいない柴(食用不可)
(Like c++ 🤪)
Anonymous
How the array is considered as pointer and pointer can be treated as array?
Nameful
バレンタインがいない柴(食用不可)
バレンタインがいない柴(食用不可)
/a/ is a pointer pointing to the first entry of the array
Anonymous
Ok
Shruti
C and C++ Beginner to Advanced class will be started from next week. Whoever interested, please DM
Silvester
Hi
Anonymous
Daniel
hi, are there c++ frameworks for image convertion, in mycase SVG to PNG or JPG
Daniel
Anonymous
dont ignore please
Litteraly the first thing written in the pinned message is "You are not entitled for an answer" 🥲
Daniel
Daniel
it is your right, you can do it))
Anonymous
Btw there is "Cool Image", I used it few times but I'm not sure it is designed for image conversion, give it a try if you want
Daniel
are there obvious solutions? Or you didnt encounter?
olli
Daniel
Jerryjay
Write a C++ program that can be used to capture the details of students including admission and examination records.
During admission,the id(string), name(first and lastname), gender, age, tel, level and program of the student are recorded. The recorded details are kept in a file called studrec.txt in a folder called records.
At the end of every semester, the student's exam records for each course are recorded in a file called studexam.txt, in the records folder. The files contain records which are comma separated. The exam details include studentid, courseid, semid, midsem and exam mark.
A course has id (integer), code(string), title and credit hours. A semester has id, description, academicyear.
The user should be able to generate a semester's transcript for a student when the student's id, and semster id are provided.
A transcript should have details as follows:
StudentID: xxxxx Name: xxxxx xxxxxx
Semester: xxxxxx Academic Year: xxxxxxx
Course Code Title Mark Credit Grade
XXXXX XXXXX XXXXXXX XX.XX X X
XXXXX XXXXX XXXXXXX XX.XX X X
XXXXX XXXXX XXXXXXX XX.XX X X
.....
XXXXX XXXXX XXXXXXX XX.XX X X
Total XXX.XX XX
SWA: XX.XX
Mark is the sum of midsem and exam mark
SWA = sum of the product of each mark and credit hour for the course divided by the total credit hourse.
The grading system is as follows:
Mark -> Grade
80 - 100 -> A
70 - 79 -> B
60 - 69 -> C
50 - 59 -> D
Below 50 -> F
NB: Create structures for Course and Semester.
Create a class for student with method that can read data from file, save student info to file and generate the transcript for students.
Jerryjay
Write a C++ program that can be used to capture the details of students including admission and examination records.
During admission,the id(string), name(first and lastname), gender, age, tel, level and program of the student are recorded. The recorded details are kept in a file called studrec.txt in a folder called records.
At the end of every semester, the student's exam records for each course are recorded in a file called studexam.txt, in the records folder. The files contain records which are comma separated. The exam details include studentid, courseid, semid, midsem and exam mark.
A course has id (integer), code(string), title and credit hours. A semester has id, description, academicyear.
The user should be able to generate a semester's transcript for a student when the student's id, and semster id are provided.
A transcript should have details as follows:
StudentID: xxxxx Name: xxxxx xxxxxx
Semester: xxxxxx Academic Year: xxxxxxx
Course Code Title Mark Credit Grade
XXXXX XXXXX XXXXXXX XX.XX X X
XXXXX XXXXX XXXXXXX XX.XX X X
XXXXX XXXXX XXXXXXX XX.XX X X
.....
XXXXX XXXXX XXXXXXX XX.XX X X
Total XXX.XX XX
SWA: XX.XX
Mark is the sum of midsem and exam mark
SWA = sum of the product of each mark and credit hour for the course divided by the total credit hourse.
The grading system is as follows:
Mark -> Grade
80 - 100 -> A
70 - 79 -> B
60 - 69 -> C
50 - 59 -> D
Below 50 -> F
NB: Create structures for Course and Semester.
Create a class for student with method that can read data from file, save student info to file and generate the transcript for students.
can anyone help me?
olli
can anyone help me?
If you want help. What have you done so far? Where is your code? Where did you get stuck?
coolthought
break it down into individual steps and write them in functions.
eg. one function to read the data, one function to print in the format, one function to score the grade, etc.
Anonymous
What is mean by generic pointer
Gunjan
Can anyone help me out with best c++ programming book for starter
Anonymous
Anonymous
Thanks
Right now my professor started to use int main(void) and not using void main() any more. So I asked what is the difference between int main() and int main(void) and he mentioned that both are same where () means (void).😅😅
klimi
Not true
klimi
(Void) means that the function does not take any arguments
() means that the function takes various arguments
klimi
At least in C
Anonymous
He said, it is better to mention (void) instead of placing empty bracket 😅
klimi
Diego
Diego
Why is it that way, though?
I don't see how empty argument list can lead to various arguments? How do you even address them?
Anonymous
Anonymous
He is using return 1 and even using void made me confuse
MRT
hi , i working with tcp , in local host my application work perfectly but in real host i can't connect to server, i must use vpn
klimi
Diego
Diego
I can see how that would be useful though but it sounds really hacky to implement, coming from a C# background
Anonymous
klimi
Diego
If I understand correctly main(void) would throw a compiler error if you try to pass an argument
Which is a good thing, if you don't plan on using any argument, you wanna make that obvious. It's usually a good idea to make everything your code does and ways to use it as obvious as possible, minimizes possibilities of using it wrong
Diego
Diego
klimi
Anonymous
in a function definition f(void) and f() are equivalent
Anonymous
in a declaration f() means arbitrary arguments are accepted
Anonymous
So why void is created then?
Anonymous
klimi
Mahdi
Anonymous
Anonymous
I mean what is the use of void when they making code more complicated.
Anonymous
klimi
?
klimi
Its russian
Anonymous
klimi
This is English group... See the problem?
Anonymous