C/C++ :: Pulling Pictures From Facebook Using The Rest SDK?

Feb 9, 2015

I have created a game in direct X I am trying to pull data(pictures) from facebook to put into the scene.

I understand I have to get access tokens and then call facebook's graph api.

I am trying to use the C++ Rest SDK.

View 4 Replies


ADVERTISEMENT

C/C++ :: Program To Post To Facebook

Mar 4, 2014

I made a game, but to finish i need to communicate the users score to a website. i want it to post the score. i tried to look this up but it all went above my head. is there a simple way to do this?

View 8 Replies View Related

C++ :: Pulling Integer Sizes Within A Function?

Feb 7, 2013

I'm trying to find the MAX and MIN integer sizes that are entered in by the users. I know that we need to sort [i] and [j] in my function to figure out which is the highest and lowest score correct?

#include <iostream>
using std::cin;
using std::cout;
using std::endl;

[Code].....

View 4 Replies View Related

C :: Why Zero Out Rest Of The Struct

Jun 19, 2014

I am using Beej's Guide to Network Programming Using Internet Sockets. I'm just curious why I need to zero out the rest of the struct?

Code:

int main(){
int sockfd;
struct sockaddr_in my_addr;
sockfd = socket(AF_INET, SOCK_STREAM, 0);

[Code].....

View 8 Replies View Related

C :: PPM Program That Prints Certain Pictures

Oct 8, 2014

I need to make a program that prints certain pictures. My program compiles successfully. However, I cannot figure out how to view the ppm output. When i run the program i get a lot of random text.

View 2 Replies View Related

C++ :: Reading The Rest Of Line

May 4, 2012

I had a problem which i fixed it but couldn't fix it in a nice way. Lets understand my problem first, i have a file and has data in the following format

Id(int) and Description(string)

Code:
1 this is first line
1 continuity of first line
1 again first line
2 this is second line
3 this is 3rd line
3 continuity of 3rd line
3 again 3rd line
3 and again
4 fourth line

I was only interested in the integer part and ignore the description at first, it was easy because they are separated by a tab.

Here is my code for that problem

Code:
#include<iostream>
#include<fstream>
#include<string>
#include<cstdlib>
#include<limits>
using namespace std;
int main(){
string str;

[Code] .....

But now i need that description again which i ignored at first means the rest of the line, so how to get it? so is there any way of solving it? Here is my approach but i can't find any method to access to the rest of line

Code:
value = atoi(str.c_str());
(if value==1){
cout <<restOfTheLine<<endl;
}

View 6 Replies View Related

C Sharp :: Pulling Data From Database In Windows Form To Make It Interactive And Pushing It?

Jul 6, 2012

I am busy with a project, it is going to consist out of 3 different windows which is logic enough for this whole code to be interactive.

It must be able to pull data into a windows form, displaying it into a textbox, and when you click on the textbox it needs to open up another window where you will have a windows form that will display data as the code loops through the questions in the database.

I am not sure how to push the data that has been selected on the database to the next window..

Here is my code for the first window:

;
namespace WindowsFormsApplication1
{    
    public partial class Form1 : Form  {
        //SqlConnection myConnection = new SqlConnection("Data Source=(local);Initial Catalog=KnowledgeEssentials;Integrated Security=SSPI");
        //int intType = 0;
        public Form1()

[code].....

With the second window the data in the table needs to be displayed and each row from the table needs to have a checkbox next to them, so that if the check box is checked, the relevant information of the checked row will show up in the 3rd window... so MY question is, HOW do I pull that data from that specific database and let it show in the listcheckbox?

View 1 Replies View Related

C++ :: Show Pictures Randomly Without Listing Names Of Files

Apr 22, 2014

i was making a quiz and i want to show some pictures as questions to recognize i but i don't know how to show different pictures without listing the names of the files in the program, i mean i will generate a random no and based on the no the file name should change in the code like if the no is 1 it should find '1.jpg' and show it and if the no next time comes 23 then it should find '23.jpg'.

View 9 Replies View Related

C# :: Calling Pictures / Files From A Folder To Show In Screensaver

Jul 4, 2014

How do i go around the code for this screensaver..

[URL] .....

I tried some examples from other people's code but it doesn't seem to work. Tried to ask the owner aswell but it doesn't seem that he would be able to reply as he's been inactive.

View 14 Replies View Related

C/C++ :: Delete Text From File And Than Shift The Rest Of The Text Upward

Aug 31, 2014

i want to create 100 gmail accounts instantaneously....what i want from you guys is i have written a program that create a text file i want that once i give the program the imput of 1 it should delete the first 3 lines from the file i.e. the first account details coz that is already been created and shift the rest of it 3 lines upwards after that i'll write a javascript that will automatically fill and create the accounts with those names in web browser.....my lil program is here:

#‎include <stdio.h>
#include <conio.h>
main()

[Code]....

View 1 Replies View Related







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