Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
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 ...
0 votes
1 answer
124 views

I am currently trying to run a test program in xv6 (downloaded directly from https://github.com/mit-pdos/xv6-public), through WSL. It looks like this: #include "types.h" #include "stat....
2 votes
2 answers
199 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, ...
0 votes
2 answers
182 views

I am very curious about this question. The Java Language Specification has told me part of the reason: In a class instance creation expression for a non-private inner member class, §15.9.2 specifies ...
1 vote
1 answer
565 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(...
5 votes
1 answer
99 views

Consider the following example: #include <iostream> struct X { X() = default; X(const X&) = default; X(X&&) = default; X& operator = (const X&) = default; ...
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 ...
0 votes
2 answers
571 views

I get this weird warning message in Visual Studio Code the whole time and have no idea what else I should change. Message: warning: implicit declaration of function 'showMenu' [-Wimplicit-function-...
2 votes
1 answer
356 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
0 votes
0 answers
28 views

The following code gives the error: no best type found for implicitly typed array But why? All methods have the same signature, so I'd expect the type inference to succeed. Notes: I'm using .NET ...
OfirD's user avatar
  • 10.7k
1 vote
2 answers
337 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 ...
1 vote
0 answers
740 views

why is this error coming implicit declaration of function 'scanf_s'. scanf is not working in visual studio even after writing scanf_s instead of scanf?. #include<stdio.h> int main() { printf(...
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
1 vote
2 answers
1k views

Hello I am practicing my knowledge in C language I am trying to make a simple calculator but I encountered this warning Implicit Declaration of Function but the function that I called has been ...
-2 votes
2 answers
696 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 ...

15 30 50 per page
1
2 3 4 5

AltStyle によって変換されたページ (->オリジナル) /