I am trying to create a board, with different dimensions, that is, 3 x 3, 4 x 4 and 5 x 5
The problem is that I do not know if the part of the attributes of my board class is well declared. Can you tell me if it's okay?
On the other hand, I w...
Greetings.
It's my first time in forums, I'm learning C ++, and I have had a problem; I have to do a program that at first allows me to add student data to an arrangement.
The problem is that it does not matter how many students you indica...
What I'm trying to do is make a C program, that gives me the final grade of a subject and depending on the number, show me a message on screen.
#include<stdio.h>
#include<conio.h>
main (){
float cal1=0, cal2=0, cal3=0, cal4=0...
I thought how can I access web pages through a program in c ++? one thing led to the other and I found myself reading about Sockets on the microsoft page Creating a basic Winsock application and initializing Winsock . Well, put all the code...
I need to generate a random number of 0's and 1's in C.
Try to make two variables with random numbers, that of 0's and 1's, and the other so that it is the limit of a cycle that is executed to generate those 0's and 1's. I hope someone can help...
I wanted to know how you could create an array of objects with the vector class and also call the constructor method of each vector object (array).
What I have done so far is this:
#include<iostream>
#include<vector>
using names...
I am using Visual Studio 2015 and I want to show the "date" and the "current time" in C ++, for this I am calling the functions: getLocalTime and getTimeFormat.
I have this code inside the main:
printf(GetLocalTime);
printf(GetTimeFormat);...
I wanted to know how you could concatenate two fixes in C ++:
For example
a = {1,2,3,4,5}
b = {6,7,8,9,10}
c = a + b
//El resultado c = {1,2,3,4,5,6,7,8,9,10}