49,766 Topics

Member Avatar for
Member Avatar for Mallika_1

// Texture segmentation using Uniform Local Binary Pattern #include<iostream> #include<stdio.h> #include<conio.h> #include<malloc.h> #include<math.h> struct cluster { /* data */ float i[10]; float cumi[10]; int memcount; }; //variable declaration unsigned char **allocateMem(int,int); void applyKmeans(unsigned char **,int,int, unsigned char **); void calculateTexturevector(unsigned char **, int,int,float *); void initializecluster(unsigned char **, struct * …

Member Avatar for Maria_36
0
59
Member Avatar for Kate_12

Can someone please give me tips on how to accomplish generating a random number within a random range. See 'roll_dice' #include <iostream> #include <limits> #include <ctime> #include <iomanip> #include <cstdlib> using namespace std; using std::cout; using std::cin; struct Sanity { unsigned int turns = std::numeric_limits<int>::max(); unsigned int sanity = std::numeric_limits<int>::max(); …

Member Avatar for Schol-R-LEA
0
273
Member Avatar for darshanghorpade

For a given array of integers, reach to the end of the array from the 0th index with minimum number of moves. Moves possible at each index: Move from index i to index (i+1) Move from index i to index (i-1) Move from index i to index j, if a[i] …

Member Avatar for Fifth Horseman
0
202
Member Avatar for Christian_50
Member Avatar for Afonso_1

Does someone know how to download a file in c++? A simple way. i just need it to download and save it to a specific directory.

Member Avatar for Dani
0
2K
Member Avatar for Quoc_4

I have a question. do we have any function in C++ to get back the previous value while running the program? For Example: First Name: Anthony Last Name: john Gender: the pointer is at the Gender value right now soo is there any way to get back up at the …

Member Avatar for toneewa
0
82
Member Avatar for Ben_913

I am a novice in assembler programing, I will will appreciate if someone could review these NASM assembler code for me. Is about encoder decoder. The encoder performs the following: 1. pads the shellcode with NOP opcodes so it is 4 bytes aligned 2. a random byte is generated for …

Member Avatar for Dani
0
118
Member Avatar for Iram_3

A team has two types of players: Batsman, Baller. It is required to assess their performance in a particular tournament and thus find out the best player in each of the categories. The assessment criterion for each type of player is different. For batsman, it is the average of his …

Member Avatar for Dani
0
98
Member Avatar for aimannafis12333

Can you guys help me to convert this C++ to C https://padlet.com/aimannafis12333/el9ytegudkw69o8e

Member Avatar for Dani
1
136
Member Avatar for emmamark

I am attempting to write a program that will take a word as input from the user. The program will then find all of the words that can be used from the letters in the word the user inputted. A letter cannot be used twice if it only appears in …

Member Avatar for toneewa
0
219
Member Avatar for jnbgames.dev

The program below is written in **C** and is used to convert numbers to words. These operations are beneficial during the development of word processing applications. The program takes the **input** file that contains the number and **outputs** the results in an output file. Let me know if you find …

Member Avatar for Dani
0
470
Member Avatar for jnbgames.dev

The program below is written in C and creates a structure that holds the values of a text editor. This structure is beneficial during the development of text editor applications. Let me know if you find the code below helpful and if you have any additional suggestions: /*----------------------------------------------------------- * Description: …

Member Avatar for Dani
1
88
Member Avatar for jnbgames.dev

The program below is written in **C** and is used to create a **learning management system**. This program is beneficial during the development of an **e-learning** desktop application. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for Dani
1
475
Member Avatar for jnbgames.dev

The program below is written in C and creates a stack that holds the values of a maze. This structure is beneficial during the development of a desktop game that uses a maze. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for Dani
1
332
Member Avatar for Schol-R-LEA

I've been working on the GUI portion of my [C++ Connect-N game project](https://github.com/Schol-R-LEA/ConnectN), and have gotten it to would could charitably be called a working state. However, the game AI, not to put it to finely, stinks. I was wondering if anyone here has more experience in implementing a minmax …

2
97
Member Avatar for jnbgames.dev

The program below is written in C and is used to perform fast number operations. These operations are beneficial during the development of spreadsheet applications. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for rproffitt
0
245
Member Avatar for Kate_12

Hello Dani Web, I have written a program that needs to run on Ubuntu 14.0. It runs on Windows 10 and will compile in Replit. But I get this error in Replit. Can anyone figure out why? I assume it's in relation to my pointer "highScore". Can anyone figure out …

Member Avatar for Dani
0
65
Member Avatar for Schol-R-LEA

[Ranged Numeric Types in C++](https://github.com/Schol-R-LEA/Ranged-Numeric-Types-for-CPP) I've started writing a simple template class for automating range checking in specialized numeric types, inspired by the ranged types in languages such as Pascal and Ada. At the moment it is mainly meant for integer types, though I've made it flexible enough that it …

Member Avatar for rproffitt
0
298
Member Avatar for exploretech
Member Avatar for spg_gd

i want to full source code for attendance capturing such as In and out time, total hours, odd and even punch so pls Any one help me....

Member Avatar for Reverend Jim
-1
35
Member Avatar for Austin_11

Need help, been stuck on this the past couple days i dont really understand how to get my code to read from my file and count each occurence of a letter wheter they are uppr or lower case and output them to a file, just need help with the counting …

Member Avatar for rproffitt
1
56
Member Avatar for najiawad0

I'm 11 years old and I'm absouloutly LOVE programming. I'm learning C++, but I heard that C++ is used for creating games. Where can I learn game development online for free.

Member Avatar for NehaPande
0
732
Member Avatar for Braxy

Jaluh is making a room inventory in the Hostel where she is working. They have 16 rooms labelled as A-P. She is doing this manually that it will consume more time. Make a program that will automatically be identified if the room is taken or not. An array code.. ANYONE …

Member Avatar for Schol-R-LEA
0
177
Member Avatar for tyresebro1

I am currently a web developer and its the only thing I am good at in many fields of software development/programming. When starting as a web developer you should learn the three building blocks of web development such as HTML, CSS and JavaScript and also some server side language like …

Member Avatar for NehaPande
0
146
Member Avatar for Ashton21

Write a return function called averageFourTemperatures that accepts 4 integers in the parameter list, returns the average. In the main function prompt the user for 4 temperatures and them in separate appropriately named variables. Call the averageFourTemperatures, passing values and printing the returned average to the console.

Member Avatar for toneewa
0
326
Member Avatar for Ashton21

The purpose of the program is to tell the user that the weekly salary is in on of three ranges, less than 200, between 200 and 800 and greater than 800. I need help knowing the error/s and need to add and use one additional preprocessor directive that might help …

Member Avatar for toneewa
1
189
Member Avatar for dummyjy0*_08

hi, I'm miah and i need help for a project. our task is to create a program that will ask user a positive integer until the user inputted a non-positive number or 0 and then display the product of all positive inputs. Use the following function prototypes. int accept_number();, bool …

Member Avatar for toneewa
0
45
Member Avatar for bdl365

I am having difficulties writing the program. the program should ask user for a positive integer and print a factorial table. for example - Give me a positive integer: 5 1! = 1 = 1 2! = 2 x 1 = 2 3! = 3 x 2 x 1 = …

Member Avatar for Muhammad_331
0
2K
Member Avatar for kasmar45

Yes I finally decided to continue on with my programming efforts. I would like to be able to refer to myself as a master programmer, but I may not have that much time, after all I am almost 80 years old. Right now I'm delving into C++ and finding it …

Member Avatar for john_111
4
316
Member Avatar for Vandiun

What does the `explicit keyword` in C++ mean? I've read many articles about the same from [Scaler](https://www.scaler.com/topics/cpp/keywords-in-cpp/), GFG, Stackoverflow, and Wikipedia but I'm still confused. Can someone help me out?

Member Avatar for Reverend Jim
-1
45

The End.