49,761 Topics

Member Avatar for
Member Avatar for Mr.M

Hi Dw I'm new in C++ and I'm trying to develop an interactive app. I want for instance to run the app and have options printed then I choose one option then the app load relevant screen. Suppose it an ATM app where you chose what transaction you want to …

Member Avatar for Mr.M
0
184
Member Avatar for kARTechnology

Hi, I'm new here :) the problem is if i increment one member, for eg --------------------------------------- struct day { int hour[40]; int min[40]; int mins[40]; int rec; int totmins; int totsal; char status; int temp; }; struct month { struct day *da;}; struct year { struct month *mn;}; struct roll …

Member Avatar for StuXYZ
0
236
Member Avatar for malcolmsand

Hello guys, I have a problem with Win32 C++ GUI. I'm creating a program and as one of the steps, I want to: 1. Let the user type somthing in the textbox, 2. Show it in another box/area, 3. Clear the typed text from the textbox. It would be something …

Member Avatar for triumphost
0
9K
Member Avatar for fasihahshaharil

help me please to answer this simple coding...i'm very weak in coding...pleasee,tomorrow my lecturer want to see my work.... :( help me frienddsssssssss..............help meee

Member Avatar for rubberman
0
103
Member Avatar for Search_not

I am writing to a file using a pointer variable that points to my File object, which includes the method used to write to my text file. When I try to delete the memory my program crashes... The error does not occur when I comment out the "delete file;" line. …

Member Avatar for rubberman
0
141
Member Avatar for fasihahshaharil
Member Avatar for rubberman
0
104
Member Avatar for dvamshi0608

if a function recives 3 pass-by-value parameters, how many actual parameters should be in call statement?

Member Avatar for rubberman
0
174
Member Avatar for PulsarScript

Here is the file.The idea is to create phone book, and retrieve items from menu. The error i have with ofstream method. And in generlal is structure/layout of program correct?

Member Avatar for ddanbe
0
98
Member Avatar for angel6969

I am having some trouble with this program .. if input is abaabcdbab output should read abcd.... program is supposed to delete the repeated characters and output only one of each character but it is not working .... and ideas would be welcome //Reads the letters in an array and …

Member Avatar for Ariel_2
0
1K
Member Avatar for gretty

Hello I have made a simple win32 program that displays a window that has a button & a text area. When I click the button, my program grabs the text from the text area & displays the grabbed text in a MessageBox. [B]My Problem:[/B] When my program grabs the text …

Member Avatar for malcolmsand
1
2K
Member Avatar for Smn

Beginner's question : How is c different from c++? what are the differences? Which one shoul i go for , if i know basic oops (just basics)? **plz provide some genuine answers rather than simply "google"ing ..... I have searched a bit and not yet satisfied.**

Member Avatar for rubberman
0
137
Member Avatar for vell

please help me to create a program about THE DECLARATION OF TWO VARIABLES CALLED COUNT AND DISTANCE.

Member Avatar for rubberman
0
59
Member Avatar for Anil_7
Member Avatar for Moschops
0
106
Member Avatar for Sonia11

I am proceeding with parallel processing using GPU, while installing CUDA, I did build the dll files in CMAKE to have GPU support. I did include all the CUDA files and now when I am trying to rebuild the following solution: #include <iostream> #include <stdio.h> #include "C:\Users\admin\Documents\opencv\build\include\opencv2\opencv.hpp" #include "C:\Users\admin\Documents\opencv\build\include\opencv2\gpu\gpu.hpp" using …

Member Avatar for mike_2000_17
0
2K
Member Avatar for Muhammad_75

welcome everybody, i am able read my file by asking the filename from user but i am facing a little problem,When i type a name of file which doesnot exist,compiler also shows it with some zeroes, this is my program, please help me,having problem in case 2... #include <fstream> #include …

Member Avatar for mike_2000_17
0
237
Member Avatar for ifra.raja.1

Define a structure Ticket that holds data items of a carnival which includes: name of the carnival, total amount of tickets, price per ticket, total tickets sold and total sales. The total sale is based on the price per ticket and total tickets sold. Input the data into structure type …

Member Avatar for Shining_1
0
142
Member Avatar for alan91

How to write a program using nested for loop to display the following output: 0 * * 0 1 2 * * * * 0 1 2 3 4 * * * * * * * * * *

Member Avatar for Lardmeister
0
2K
Member Avatar for aliasadullah
Member Avatar for cambalinho

can i change the HBITMAP structure for be transparent? because the gif's files are show me a black background color.

Member Avatar for triumphost
0
2K
Member Avatar for afiya abdu

i need a program that saves the record of three students in one subject then saves the file. again calling this file to calculate the total of the projects,assignments, final exams and finally do grade for three of them. at the end the students record should be puttedin menu of …

Member Avatar for ddanbe
0
127
Member Avatar for ivel

Is it possible to solve this problem in c++? Write a program that counts the numbers from 3 to 117. But for multiples of three add 3 instead of 1 and for the multiples of five add 5 instead of 1. For numbers which are multiples of both three and …

Member Avatar for NathanOliver
0
292
Member Avatar for Adam_21
Member Avatar for Ahmad Imran

Is it possible to use fclose() once for 2 file pointers. Somewhat like this : fclose(in,out); please help

Member Avatar for NathanOliver
0
97
Member Avatar for Narue

When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you …

Member Avatar for Smn
18
13K
Member Avatar for Ippolitos

Recently appeared on my desktop when i start my PC the following error: there was a problem starting C:\PROGRA~3\9EEDE77.ccp the specified module couldn't be found does anyone know what it is?..... i click ok and then i work with no obvious issues thank you

Member Avatar for Ippolitos
0
1K
Member Avatar for cambalinho

i have these code for show popupmenus: case WM_USER + 1: { if(lParam==WM_RBUTTONUP) { POINT pCursor; GetCursorPos(&pCursor); HMENU test=GetSubMenu(GetMenu(HandleWindow),0); SetForegroundWindow(HandleWindow); TrackPopupMenu(test, TPM_LEFTBUTTON | TPM_RIGHTALIGN, pCursor.x, pCursor.y, 0, HandleWindow, NULL); PostMessage(HandleWindow, WM_NULL, 0, 0); } } break; the menu is showed normaly, but why the click message isn't working? heres the …

Member Avatar for cambalinho
0
200
Member Avatar for Abiy_1
Member Avatar for Praveen_13

I have this code which works fine but I cant comprehend the meaning of cin.get(ch) in the for loop. I tested the program after removing it and the first input comes fine but as soon as loop runs for the second time, program does not wait for the user to …

Member Avatar for NathanOliver
0
149
Member Avatar for cambalinho

when do: operator HBITMAP() { HBITMAP hbitmap=CreateBitmap(imageweight,imageheight,1,32,NULL);//create the bitmap with icon size SelectObject(hdcimage, hbitmap);//add the bitmap to memory DC MessageBox(NULL,to_string(GetLastError()).c_str(),"error",MB_OK); return hbitmap; } the hdcimage is copyied to hbitmap, right?

Member Avatar for cambalinho
0
3K
Member Avatar for exoruel

Good Day guys, I wanted to make a multiplication table but it seems not that easy for a newbie like me. Mind taking your time and see what I am missing in my code? It would be a great help. Here's the code: #include<iostream> #include<conio.h> using namespace std; void initArray(int …

Member Avatar for rubberman
0
1K

The End.