This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Qaverage.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2.10forcomplex.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
for(int cnt1 = 0, int cnt2 = 9; cnt1 < 10; ++cnt1, --cnt2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
for(int cnt1 = 0, int cnt2 = 9; cnt1 < 10; ++cnt1, --cnt2) | |
{ | |
cout << cnt1 << "---Hello, World!---" << cnt2 << endl; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 2.6elseif.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// firstHeadsUpC.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <stdio.h> | |
int main () | |
{ | |
int decks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// #include "stdafx.h" seems to be something I have to include every time... | |
#include "stdafx.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
char card_name[3]; | |
puts("Enter a card name: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// invetoryDisplayer.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
// Inventory Displayer | |
// Demonstrates constant references | |
#include <iostream> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Lorem ipsum dolor sit amet, consectetur adipiscing elit."; | |
cout << "Praesent cursus condimentum nulla id tempor."; | |
cout << "Suspendisse lobortis sodales sodales."; | |
cout << "Quisque sollicitudin ullamcorper dolor at commodo."; | |
cout << "Pellentesque eu nisi felis, eu tincidunt arcu. Aenean quis mauris neque." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent cursus condimentum nulla id tempor. Suspendisse lobortis sodales sodales. Quisque sollicitudin ullamcorper dolor at commodo. Pellentesque eu nisi felis, eu tincidunt arcu. Aenean quis mauris neque. Nunc mollis ligula non arcu venenatis fringilla congue lectus malesuada. Vivamus in magna tortor, et dignissim ipsum. Nam id lacinia arcu. Sed turpis magna, cursus non congue nec, hendrerit eu metus. Mauris mattis, justo ac consequat gravida, justo leo fermentum sem, non rutrum eros leo vitae diam." << endl; | |
return 0; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// favoritegamesprogram.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
// Favorite Games Program | |
#include <iostream> | |
#include <string> | |
#include <vector> |
NewerOlder