- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Create a new file with the following code in main(): a for loop that prints the numbers 75 to 125 a for loop that prints the numbers 50 to 30, in reverse order a while loop that prints the numbers from 66 to 111 a while loop that prints the … |
|
Re:
hi, can you help me with my code? actually its running but the total price of products bought is not displaying, can you help me with this one? :( #include<stdio.h> #include<string.h> #include<conio.h> int main(void) { int pno, choice, product, jf=12,d=10,l=107,c=2,cf=22,n=9,b=19,ap,a,total,disc,i,ctr,nSelection; char name[50]; char cname[50]; char y; char x; float price,qty,tax,dis,bill,dprice,ttotal; … |
|
Re:
Hey everyone, I am working on a win32 project right now and I have a few buttons that I wanted to change how they look so I gave them the BS_OWNERDRAW property and drew them myself. Now sense I am using ownerdraw there is no visual indication of when someoone … |
|
Re:
#ifndef LOTTO_H #define LOTTO_H #include <QWidget> #include <QLabel> #include <QTextEdit> #include <QPushButton> #include <QGridLayout> class lotto : public QWidget { Q_OBJECT private: //widget data members QLabel* numbersLabel; QTextEdit* numEdit; QPushButton* lotusButton; public slots: int generateLotteryNumbers (); void displayNumbers(); public: lotto(); }; #endif // LOTTO_H #include "lotto.h" #include <stdlib.h> #include <time.h> … |
|
Re:
Hey all im working on a program that has gives you the option of converting a message(string) into 3 different schemes: Prime Shift Encoding scheme, Shifty Encoding Scheme, and a Reverse Encoding scheme. I have figured out how to encode and decode the prime shift scheme and reverse scheme, but … |
|
Re:
Hello, I have been learning how to use the MS WinAPI, but their documentations is extremely vague in a lot of places, without information on the proper use of functions (PHP.NET manages this just fine!). But anyhoo. When I handle the WM_DRAWITEM message, it SHOULD display an image on the … |
|
Re:
impliment the selection sort algorithm to sort the elements in a two dimentional array of order 3*4 in descending order. the program should prompt the user to input 12 element, sort and display the elements in the matrix format. |
|
Re:
Hey guys i have an advanced programming project , which is to run on both linux and windows operating systems. And i wanted to know if there is an IDE with drag and drop features which i can use to code the graphical user interface |
|
Re:
Create the logic for a program that prompts a user for three numbers and stores them in an array. Pass the array to a method that reverses the order of the numbers. Display the reversed numbers in the main program |
|
Re:
I have an XML file that is in this format: <root> Test string <Signature> WvZUJAJ/3QNqzQvwne2vvy7U5Pck8ZZ5UTa6pIwR7GE+PoGi6A1kyw==</Signature> </root> I was able to produce the SHA256 and produced a string by using the following: string CalculateSHA256(const string& input) { SHA256 hash; string digest; StringSource _(input, true, new HashFilter(hash, new HexEncoder (new StringSink(digest)))); return … |
|
Re:
Hello everybody, This is parking program .I defined 4 task (keyboard,enter vehicle,exit vehicle,display) The program is compile but when I run it and press keys (E,S,F), it does not work. This program is written for linux. Can you help me? #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include <stdlib.h> #include <pthread.h> … |
|
Re:
Literally, I have been asked this question ""The Fibonacci sequence is 0, 1, 1, 2, 3, 5, 8, 13, … ; the first two terms are 0 and 1, and each term thereafter is the sum of the two preceding terms – i.e., Fib[n] = Fib[n – 1] + Fib[n … |