- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 155
- Posts with Upvotes
- 127
- Upvoting Members
- 87
- Downvotes Received
- 6
- Posts with Downvotes
- 6
- Downvoting Members
- 4
Extra Short Bio
- Interests
- §
- PC Specs
- Not very impressive
I am writing this program for our activity, but I have Problem at the end line, because whenever I input 'Y' when asked do you want to solve another set, the do repeats but the statement "Do you want to try again is flashed along with the question "Which shape's … |
|
Hey guys, I have been looking around for a while but I can't seem to find any tutorial on how to print the contents of a RichEdit to a printer. Any help would be appreciated and if anyone has any links to a good tutorial please post them. Thanks! TheNewKid |
|
Hi, guys i am trying to create a String in the Windows Registry to imput some nice Proxy Adress. But i failed to input the correct datatype. I do not have any problems with Type (DWORD)... But (REG_SZ) has not work. Can someone tell me how can i input in … |
|
I'm busy writing Yahtzee. Now, I want to fill a const char[] with the field names: 1's, 2's, 3's, ..., "Full House" "Small Straight" etc. But I get this errors #include <iostream> #include <stdlib.h> using namespace std; /* 1 2 3 4 5 6 3 of a kind carre full … |
|
Hi,i have this code that i need to turn in for my homework. I based it off some things i saw on the internet. The point of the homework is that i need to have 2 or more structures and use some functions. It would mean a lot if someone … |
|
Hi, I want to sort an array of struct 'Workshops' in accordance with its member variable 'start_time'. I thought of using std::sort for the array and supplying 'CompareWorkshops' function as the third parameter- bool CompareWorkshops(Workshops W1, Workshops W2) { return (W1.start_time <= W2.start_time); } //calculate max no. of non-overlapping workshopes … |
|
Is everyone familiar with this game? Just reply with the first word that comes to your mind when you think of the last word posted. You can't respond to the post with a comment, just the word that comes to your mind. It can only be a word or a … |
|
while compiling this code i have got an error Declartion not allowed here its a C program title of the program is " LIBRARY MANAGEMENT" #include<stdio.h> #include<stdlib.h> #include<string.h> struct library { char bk_name[30]; char publisher[30]; float price; }; int main() { struct library l[100]; char pb_nm[30],bk_nm[30]; int i,j, keepcount; i=j=keepcount … |
|
new to programming. everytime i try ti comppile this program i get an error message saying expected unqualified... here is the code and the question that the code was made from Write a program that uses a loop to print the numbers from 10 to 20. int main(); int crt … |
|
I dont understand the appearent discrepency in the treatment of the variabe x, y, and z. Why y isn't treated as x and z? #include <stdio.h> #include <string.h> int main() { char result[100] = "Philippe Dupont 30"; char x[50]; char y[50]; int z; /*We use sscanf to give a value … |
|
Programming Exercise ATM Machine In this assignment you will create a program that allows a user to do the following: 1) Create a bank account by supplying a user id and password. 2) Login using their id and password. 3) Quit the program. Now if login was successful the user … |
|
what are the different relational operators in python? |
|
Hey everyone, I'm looking to add a block / function within a C++ application that will search for open windows. For instance, wordpad and notepad. If either are open perform an action. I'm doing this within win32 API but my question is this. If I create something as such, this … |
|
hello. how can i print out in textbox a void * value ? here is the code: uintptr_t offsetFromBuffer = (uintptr_t)internalAddress - (uintptr_t)&buffer; void * healthDecAddress = (void*)(currentChunk + offsetFromBuffer); richTextBox1->Text = healthDecAddress; // how can i do it right ? |
|
I am trying to replace a string in a function with double pointers. I would like to see this change back in main. What am I doing wrong? These are the warnings my compiler gave me. $ gcc *.c -Wall main.c: In function ‘replacevalue’: main.c:10:12: warning: passing argument 1 of … |
|
On my android device I get no dropdown menu at all from the hamburger. Chat and profile image on the titlebar work fine as does the main dw logo. Also while creating this post. The continue button on the first screen (deciding forum and thread type) was unresponsive. As does … |
|
Hello, have the following program code: #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main (void) { char c; while( (c = getchar()) != '\n') { putchar(c); } putchar ('\n'); return EXIT_SUCCESS; } At the moment he reads in entered characters and outputs them again. I should [write](https://prowritingservice.com/write-my-essay/) it so that … |
|
write a C++ program to find the volume of a cube. The program should provide setting and gettng the values of cube( height, length and breadth). show how encapsulation and abstraction is implimented in your programme. you must use a class concept and the main function. |
|
I've noted how the home page seems sparse but why is that lone upvote there at all? It's not that interesting and there's no way to dismiss it or fill the page with what I choose. See attached screen. NOPE. The image upload looks broken. I'll try Imgur and it's … |
|
Can we use Bing instead of Google for accurate search result? |
|
I have a problem shifting data to specific locations in a 64-bit register. I've done well in 32-bit register. But this one gives a warning and also not shifting the data to the wanted location. This one would work with shifts 0, 8, 16 and 24 but not with 32 … |
|
Suppose I need to capture the listView message and on the form have three listView, the variable m.Msg distinguish the listView1, listView2, listView3, ... and when run output message m.Msg variable in the attachment: http://www.mediafire.com/file/weab5ppsb355kc1/out_WndProc.doc protected override void WndProc(ref Message m) { Debug.Print("out if: " + m.Msg); if (m.Msg == … |
|
LoadLibray returns 0 when I'm trying to load a dll file. I'm using Visual Studio 2017 #include "App.h" #include <windows.h> #include <iostream> using namespace std; typedef int(__stdcall *f_funci)(unsigned char, unsigned int); int main(int argc, char **argv) { SetDllDirectory((LPCWSTR)L"C:\\xmrig-master\\build\\Debug"); HINSTANCE hGetProcIDDLL = LoadLibrary(L"asm.dll"); if (!hGetProcIDDLL) { cout << "could not load … |
|
Use a **for** loop to find the smallest integer n such that n^3 is greater than 1000 So I came out with below code public class Chapter4 { static int n = 0; public static void main(String[] args) { for (int i = 1; Math.pow(i, 3) <= 1000; i++) { … |
|
Hello Everybody I want to print the value of alternative element of a 2D array. For Example- 23, 54, 76 37, 19, 28 62, 13, 19 Output should be- 23 76 19 62 19 I am trying to get this output since 5 hours. Here is my code - #include … |
|
I am trying to a % in a printf statement represent 10%. How do I do that? My compiler warnings are complaining about it. I tried a backslash but that didn't work. printf(" 10\% of people \n"); |
|
THIS SOURCE HAS printf STATEMENT WHICH IS TO BE REPLACED WITH cout STATEMENT. PLEASE HELP ME....... :) #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<time.h> int a[9][9],b[9][9],r[60][2]; int row, col, icount, mode; char solh; void main() { void readvalues(void), display(void),generate(void); int solve(),checkmat(), checkrow(), checkcolumn(),check(),isfixed(); int i,j,error; char c; clrscr(); prinf("\n\t\t\t SUDOKU GAME by:\n\n\t\t\t \n\t\t\t … |
|
Dear Friends, i Developed a C# Project with SQL Server Database (Database is not LocalDB) and i want to create a setup file to install on client system havin windows xp 32bit. Please suggest me how to do it ? |
|
ALL of it. <rude words>. Linux, here I come. . |