C++ :: Social Media Control Panel

Aug 12, 2014

I'd like to make a control panel for different social media to control multiple account and have proxy support. I think i need to learn multithreading and socket programming right ?

View 1 Replies


ADVERTISEMENT

C++ :: Program That Keeps Track Of Social Security Numbers Of Customers

Jun 27, 2013

I am trying to write a program that keeps track of social security numbers of customers I have to assume that its a four-digit number. When the program runs,it has to prompt that the user should enter a 4-digit number to record, or 0 to exit.

The program also needs to be able to give an error message if a certain number is entered more than once.

After all the numbers have been saved and you finally end it by pressing 0, it needs to be able to output all the entered SSN's.

Here is my code so far:

#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
bool isExist(int ssn, int records[], int numberOfRecords);

[Code] ......

View 3 Replies View Related

C++ :: Program To Keep Track Of Social Security Numbers Of Customers Of A Bank

Oct 4, 2014

In this assignment, you are going to write a program that keeps track of the social security numbers (SSN) of customers of a bank. Please notice that we are going to assume that SSN is a four-digit number (e.g., 1234. 0123 is not allowed.). When the program runs, it prompts that the user should enter a 4-digit SSN number to record, or 0 (zero) to exit.

So far I have this:

#include <iostream>
using namespace std;
bool isExist(int ssn, int records[], int numberOfRecords);
int main(){
int ssn = 0;
int records[32];

[Code] .....

View 16 Replies View Related

Visual C++ :: Keep Track Of Social Security Numbers (SSN) Of Customers Of Bank

Jun 26, 2013

I am trying to write a program that keeps track of social security numbers (SSN) of customers of a bank. I have to assume that SSN is a four-digit number (e.g., 1234. 0123 is not allowed.). When the program runs,it has to prompt that the user should enter a 4-digit SSN number to record, or 0 (zero) to exit.

The program also needs to be able to give an error message if a certain number is entered more than once.

After all the numbers have been saved and you finally end it by pressing 0, it needs to be able to output all the entered SSN's.

Here is my code so far :

#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
bool isExist(int ssn, int records[], int numberOfRecords);
void listRecords(int records[], int numberOfRecords);
int main()

[Code]...

View 2 Replies View Related

C# :: Utilize One Panel But Modify It For Various Options?

Feb 5, 2014

Using WPF and .NET 4.0 what would be the best way to utilize one panel but modify it for various options? For instance when having a basic or advanced view how would I go about changign the area to add buttons or other items most efficiently?

View 4 Replies View Related

C# :: Staggered Columns In WrapPanel Or Custom Panel For ListView

Jan 23, 2014

I've been trying for a while now and I can't seem to replicate this model without using a grid. I've tried making some simple custom panels and a wrappanel that makes a new column after n pixels or n number of items which works; however, I'm unable to find a way to stagger each column.

Here's an image of what I'm trying to do:

enter image description here

I've made solutions that use a Grid that do stagger the columns however what I need is a panel that uses columns only and it must be able to be used as the itemspanel for a ListView.

View 6 Replies View Related

C# :: Concurrent Sharp Panel Connection With Semaphores And Buffers

Apr 26, 2014

I have a problem with my C#. Trying to create the airstrip with planes heading out of the hangars and on to the road to the airstrip. Each Hangar pannel is connected with closes road to them. What i am stuck with right now is connecting the roads together so each one of them will see if the next road is free and if it is it will send the plane (colorder square for now) to it and then proceed to the next one when finaly they will line up for the final panel(airstrip) and take off.So far they are just going down the each road they are assigned with semaphore and thread.

using System;
using System.Windows.Forms;
using System.Threading;
using System.ComponentModel;
using System.Collections;
using System.Data;
using System.Drawing;

[Code] ....

Connecting the "p2" with "p5" so the graphics from "p1" the square will travel through P2 and P5 this would be great and will allow me to procede with my studies.

Also i do realise that this might not be the best ways of using concurrent Csharp and not the up to date one but this is what i have been assigned with and do not have any other options unfortunately.

How i understand this is that i need to have 3 buffers and 3 semaphores for each panel. But i do not know how to add those to each one of them and then connect it with the next one as if i try and add them it either puts a cross in the design view over that panel or says that there is limited options for this statement.

This is the way that i want to do it unfortunately it must be so. The most flexible this can be is by adding an array for semaphores and buffer ( do not know how to do that either).

View 7 Replies View Related

C# :: Resizing Panel Controls On A Maximized Form (VS2008)

Mar 1, 2014

I made one application in Visual Studio 2008. The main form is maximized, and contains many panels with different controls (like buttons, listboxes, etc,). All the controls have the dock option fixed as true in panels, and the panels occupied the whole area of form.

Now, when I try to run this application in a machine, with different resolution of the screen, the form is maximized (naturally), but the panels are not resizing, so the form has many null area. How can I resize the panel so, that they fill the whole form area?

View 4 Replies View Related

C# :: Program To Run Media Player With Saved Playlist

Oct 26, 2014

Is C# or any other programming language out there that can run like a program that has been installed on you PC? For example say i want my program to run Media player with a saved play list, run spotify, or run a search on the internet?

View 4 Replies View Related

C# :: Playing Video Without Windows Media Player?

Mar 26, 2014

I try to play a video I i don't know how.. I searched and i found some tips and articles, but all of it if about Windows Media Player. It's fine, but i need to play something lika an intro an i don't wanna show all that buttons of WMP.. I tried to hide it but no change.

View 2 Replies View Related

Visual C++ :: CDHtmlDialog Not Working With CSS Media Queries

Feb 21, 2014

I have a CDHtmlDialog app in which am trying to add a CSS media query in the HTML file as shown below, but it doesn't work.

@media (max-width:20em) {
table, thead, tbody, tfoot, th, td, tr { display:block; }
tr + tr { margin-top:1em; }
}

The same CSS works fine if i open in a browser like IE, FireFox, Chrome. But inside the CDHtmlDialog app this doesn't work.

I am using Visual Studio 2012 for development and have IE 11 installed in my machine.

View 1 Replies View Related

C Sharp :: How To Give Line Break In Panel In Windows Application

May 8, 2013

I am creating windows application in that i wan create dynamic controls so that i want to give line break after each control in panel.I had tried

panel1.Controls.Add(new LiteralControl("<BR>"));

but it gives error like : "The type or namespace name 'LiteralControl' could not be found (are you missing a using directive or an assembly reference?)" Also have tried adding namespace for leteral control bt it not accepting.VS10 automaticaly get restart if i trying to add system.web.dll

View 2 Replies View Related

C# :: Change Form Control Properties From User Control

May 24, 2014

I have researched quite extensively, experimented, and still cannot seem to change the properties of a control on an active winform from a user control.

So I have a user control which populates each dynamically added tab page in a tab control.

I have a textbox in the user control which I would like to type in, capture the text_change event, and change the text of the label in the winform.

View 14 Replies View Related

C# :: Bind DatePicker Control To DataGrid Control (column)?

Apr 25, 2014

How do I bind a DATE column in a DataGridView Control to a DatePicker control (using C#)? I already have the DataGridView control bound to a database stored procedure which takes a DATE value as a parameter and selects joining table based on the results.

View 7 Replies View Related

Visual C++ :: Playing Video Using Windows Media Player From A Buffer?

Oct 25, 2013

I am developing a VC++ application with windows media player component. play video from a video buffer data which i have?

View 2 Replies View Related

C# :: Custom Media Player Time Bar - Calculate Total Size And Proportion

Dec 30, 2014

Im just wondering how would i get a formula to calculate the total size and proportion of how far the media player has been played, in proportion with the size of the sizeable form, i need an int for the:

Width of formLength of movieHow long has been played by user

I have this code so far:

//The current position played! - Within the timer.tick event arg!
string splayed = axWindowsMediaPlayer1.Ctlcontrols.currentPosition.ToString().Split('.')[0];
int iplayed = Convert.ToInt32(splayed + 1);
//The total time of the movie/audio.
string stotal = axWindowsMediaPlayer1.Ctlcontrols.currentItem.duration.ToString().Split('.')[0];
int itotal = Convert.ToInt32(splayed);

[Code] ....

I have the "AxWindowsMediaPlayer" reference installed, but i need to know how it would work...

Attached image(s)

View 14 Replies View Related

Visual C++ :: How To Detect If Window Media Player Is Running In Full Screen Mode

Jan 21, 2013

How can I check if window media player is running in full screen mode & topmost in c++ MFC?

What I used is this logic:

I compared media player full screen coordinates to that of monitor coordinates.If they are same implies media player is in fullscreen.But it has one flaw.Whenever there are control(for play,pause) displayed in full screen in media player, coordinates are not coming same as that of monitor.

View 10 Replies View Related

C :: Robotics And LED Control

Aug 4, 2014

i've taken a couple courses in C Programming and all of the assignments were pretty basic. I've been looking into some of the awesome things that people have been doing with the Raspberry Pi and noticed that some of them are using the C language to control robotic arms and LEDs. I skim the code for some of these projects and notice they are using header files and code that i have never seen, nor are they in the books that i have. for example:

#include <fcntl.h>
#include <sys/mman.h>

View 2 Replies View Related

C++ :: Control Usb Ports?

Mar 5, 2013

how to control usb ports in visual studio C++?

View 1 Replies View Related

C++ :: Control Array Value Retrieval

Aug 23, 2013

I am using MFC (and a newbie here) and I want to retrieve values of my control array.

How can I possibly do that? This is my ControlArray

Code:
m_EditArray[0]=GetDlgItem(IDC_EDIT1);
m_EditArray[1]=GetDlgItem(IDC_EDIT2);
m_EditArray[2]=GetDlgItem(IDC_EDIT3);
m_EditArray[3]=GetDlgItem(IDC_EDIT4);
m_EditArray[4]=GetDlgItem(IDC_EDIT5);
m_EditArray[5]=GetDlgItem(IDC_EDIT6);

View 2 Replies View Related

C# :: WPF Freeze Control During Update

Jun 11, 2012

is there a way to tell WPF that I'm going to do a lengthy update on a control (TextBlock), and that it shouldn't redraw it until I tell it I'm done? I'm adding a large number of items to the Inlines property, and it has to redraw the entire control every time I add an item, which takes a very long time - about 1 second for every 100 items. I know some other frameworks allow freezing of certain controls, but I haven't been able to find anything in the documentation or on google. I've tried collapsing the TextBlock, and then making it visible again after the update, but it did not improve the performance at all.

View 6 Replies View Related

C :: Use SIGNALS To Control Threads

Nov 11, 2013

I've to use SIGNALS to control threads. Here's my code without the use of signals as I'm no good at that

Code:

#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
}

[code]....

View 4 Replies View Related

C++ :: How To Add Files To Tree Control

Jan 28, 2013

How do I add files to a tree control. I have all the directory and sub directorys ..need the files to

Heres the code

CFileFind fd ;
if ( path.Right ( 1 ) != "" )
path += "" ;
path += "*.*" ;
BOOL found ;
found = fd.FindFile ( path ) ;

[Code] .....

View 1 Replies View Related

C++ :: How To Control Iterator Of Multimap

Feb 22, 2013

I am running some simulation, in which i need to control the iterator of a multimap, like

multimap<double, int> mapp;
......

int n=6;
for(int i=0; i<5; i++) {
for(auto it = mapp.begin()+i*n; it!=mapp.begin()+(i+1)*n; it++) {
......

However this way of controlling is not possible for multimap. Why and how the make it work? Do I need to overload the operator +?

View 14 Replies View Related

C++ :: Any Way To Have Program Control Go Some Two Paths At Once?

May 6, 2014

is there any way to have the program control go some two paths at once? For example: if my program has two functions, one that does some simple calculation that requires nothing from outside it to set the variables and another that displays text for the user to read then enter something. Is there any way to have both run at the same time?

simpleFnc()
{int a = 1;
int b = 2 ;
int c = a+b ;

[code]....

There is no connection of simplefnc to anywhere else in the program so is there any way to get it to run at the same time the other function is running?

View 4 Replies View Related

C++ :: Cannot Control Table Alignment

Nov 29, 2013

I want the function to display all accounts deposit list to work properly, what i mean is that the table coming has its contents here and there . I want to align them properly. program in comment.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved