Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for senait.kifle.127

Hi, I managed to change a cursor in C++ windows console size using the function HANDLE output = GetStdHandle(STD_OUTPUT_HANDLE); CONSOLE_CURSOR_INFO cz; cz.dwSize =100; cz.bVisible =TRUE; SetConsoleCursorInfo(output, &cz); But I'm having a hard time to make the cursor not to blink. I couldn't find any function in MSDN to do that. …

0
101
Member Avatar for senait.kifle.127

Hello Guys, I am trying to implement a coparison operator == into a try catch block to compare to clocks. I defined my comparator as friend bool operator ==(Clock&c1,Clock&c2) { return(c1.get_hour()==c2.get_hour() && c1.get_minute()==c2.get_minute()); } and my try catch block as Clock *clock3; try{ int hour,minute; cout<<"Hour: "; cin>>hour; cout<<"Minute: "; …

Member Avatar for mike_2000_17
0
230
Member Avatar for senait.kifle.127

Hello Guys, I have a bit of confusion about how to define a searching function.Here is what I wanted to do, I need to define the searching function which takes the name of a student as (stated in the argument) and returns a pointer to that or NULL if the …

Member Avatar for NathanOliver
0
180
Member Avatar for senait.kifle.127

Hello Guys, so I have this question today. let's say I defined a structure like this : struct List{ char *co; char *di; List* next; }; I wanted to define a function with a pointer to a list of elements of this structure as a parameter. In the body of …

Member Avatar for NathanOliver
0
250
Member Avatar for senait.kifle.127

My Objective is to define a function, with a pointer to a list of elements of the structure I created as the first parameter, a C-character string (of type char * ) as the second parameter and one of the of the two values,num or name, from the above enumeration …

0
176
Member Avatar for senait.kifle.127

I am running into problems reading in a csv file. I have an inventory.csv file with three columns and around 10,000 rows. The last column is supposed to be ignored. The csv format looks like this Shelf number; item name; item number. (So here item number shall be ignored). After …

Member Avatar for Moschops
0
2K
Member Avatar for senait.kifle.127

Hello Everyone, This question is quite hard for me to understand it. I have gone this further. your help will be appreciated. The program is used to calculate volumes of tanks. #include <stdio.h> #include <stdlib.h> #define PI 3.14152 /*Declare for storing the data of a cylindrical tank new structure type …

Member Avatar for David W
0
271
Member Avatar for senait.kifle.127

Hello everyone, I was given this assignment, but I am stuck. Your help is appreciated :) 1.Ask for a desired accuracy epsilon for the to approximate value of \pi. 2. Use the Leibniz series to approximate pi. 3.Check after each iteration step wether the value of the last summand | …

Member Avatar for cgeier
0
4K