python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Double derived class produces error unless call to Base
The following code causes my compiler to produce two errors: type name is not allowed and expected an expression.
#include <iostream>
class Base {
protected:
template <typename T1>
...
Hufh294
Votes: 0
Answers: 2
How can I call the following void function with double parameters?
This is what I have currently, and I have no idea what to do to make it run:
void avg_sum(double a[], int n, double *avg, double *sum) {
int i;
*sum = 0.0;
for (i = 0; i < n; i++)
...
halolol
Votes: 0
Answers: 2
some sun time errors in c
full code is this:
Insertion in linked list
Please make it like it run smoothly then After i will debug on basis of my algorithms.
#include <stdio.h>
#include <stdlib.h>
#define null...
Pintu Batesar
Votes: 0
Answers: 0
Storing Char and Int in an array and writing it to a Text File
I am trying to store char and int to the array 'employeeInfo' and write it to the text box 'KMARTEXT.txt'.
i am not sure on how to store in an array then to a text file.
I had the error in the addEmpl...
Chuya Siy
Votes: 0
Answers: 2