Skip to main content
1 vote
1 answer
2k views

First of all, I am a beginner in programming, so please don't expect me to now a lot about this. I am working on a project for my programming course in computer science, where we use JUnit for tests ...
elAndres's user avatar
2 votes
2 answers
188 views

#include <stdio.h> int main(void) { float a, b; a = 0.0f, b = 1.0f; printf("%d\n", plus(a, b)); return 0; } int plus(double a, double b) { printf("%lf %lf\n", a, ...
Eric Yu's user avatar
  • 23
1 vote
1 answer
559 views

As per the document, which says that the constructor, deconstructor and asignment operator of std::array are implicitly declared. How to understand that? I fully understand default declared functions(...
John's user avatar
  • 3,574
1 vote
1 answer
1k views

I'm currently working with BPF Kernel Functions (kfuncs) and have been referencing the documentation provided in the BPF Kernel Functions (kfuncs). My primary objective is to create a new kfunc to ...
Moerez's user avatar
  • 11
2 votes
1 answer
349 views

I am getting a warning for lstat being implicitly declared, but it should be explicitly declared in the included header. Compiling the following: // Standard library #include <stdio.h> // ...
Kyle's user avatar
  • 1,116
1 vote
2 answers
328 views

I am trying sample programs on Scala implicits. I am trying to implement one solution from the "Scala for the Impatient" book. I have written as Fraction class having two member variables ...
Gunjan Shah's user avatar
  • 5,178
1 vote
3 answers
191 views

This isn't the final implementation of the program, but the program itself was a bit long so I decided to create it in small chunks instead. I'm running into an error that says implicit declaration ...
user avatar
-2 votes
2 answers
691 views

I am trying to fix my last implicit declaration of a function by creating the prototype function in my header file. The lab is to write structs and currently I have my Main.c, RandomNums.h, and ...
CMOS_BATTERY's user avatar

15 30 50 per page
1
2 3 4 5