Nehemiah Aklil
this would be ur output Uglygod UglygodUglygod UglygodUglygodUglygod UglygodUglygodUglygodUglygod
Nehemiah Aklil
thts not wat am looking for
Nehemiah Aklil
tht would be too easy
Nehemiah Aklil
i want a program tht prints out ppls name
Nehemiah Aklil
like if u put in "Boy" in the program
Nehemiah Aklil
wait😂
Nehemiah Aklil
if i input my name "Nehemiah" in to the program
Nehemiah Aklil
it would print * * * * * * * * * *
Nehemiah Aklil
ik its crazy
Nehemiah Aklil
but I saw them do this
Nehemiah Aklil
😂😂😂
Nehemiah Aklil
Kat
Create a file mapping characters to ASCII art
Nehemiah Aklil
Create a file mapping characters to ASCII art
🤷🏽‍♂️I don't know wat ur talking about
Nehemiah Aklil
😂and new line first
Nehemiah Aklil
i get u simpler but not challenging😞
Nehemiah Aklil
😛I have patent rit
Nehemiah Aklil
😂killer mr.robot pfp👏🏽👏🏽👏🏽
Anonymous
Anonymous
This player variable , how does it it have 3 values
Nehemiah Aklil
its loading☹️
Anonymous
Nehemiah Aklil
it doesn't have 3 variables dude
Nehemiah Aklil
int player is equal to 1
Nehemiah Aklil
int player = 1; int i; int choice;
Anonymous
O ok
Nehemiah Aklil
O ok
ur welcome
Nehemiah Aklil
so no one is online
BinaryByter
It doesnt say that pöayer is equal to the three others
BinaryByter
but player is equal to 1 and then you create two other vars
Nehemiah Aklil
Thanks
no problem keep learning 👍🏽
Nehemiah Aklil
inFile.open ("Student.txt", ios::binary); if (!inFile) { cout << "Sorry,the file could not be opened! \n"; cout << " Press any Key to try again "; getch (); } while (inFile.read ((char *) &s, sizeof (Student)))
Nehemiah Aklil
while (inFile.read ((char *) &s, sizeof (Student)))
Nehemiah Aklil
can't understand wat the hell is happening at the last line
Anonymous
I am programming Already a month after 5 days I joined in fiverr. At first just try it out, capital knows how to swipe the mouse in the file, eh thank God, now it has a total of $ 128 http://www.fiverr.com/s2/1f2b24ec67
Nehemiah Aklil
Nehemiah Aklil
a pain in the ass project but I used the simpler method
Nehemiah Aklil
two cases together thts new
Anonymous
Anonymous
With the player=(player%2)?1:2, in understand it conditional ternary operator
Anonymous
I have to show project in my clg..at 8thmarch
Anonymous
Book shop management
Anonymous
Anyone help me plz
Anonymous
I see
Serg from FarCry
What is better to use #pragma once or #ifndef GAME_H #define GAME_H ?
Serg from FarCry
C++ VS 2017
MᏫᎻᎯᎷᎷᎬᎠ
What is better to use #pragma once or #ifndef GAME_H #define GAME_H ?
For compatibility assurance it's better to use what the standard use
Bross
Pn
Walter
#include <stdio.h> typedef struct { int x; int y; } point; typedef struct { float radius; point center; } circle; int main() { point p; p.x = 3; p.y = 4; circle c; c.radius = 3.14; c.center = p; printf("Circle radius is %.2f, center is at (%d, %d)", c.radius, p.x, c.center.y); return 0; }
Walter
In the above code does it make any difference if I use p.x in printf instead of c.centre.x???
Hakker
Your lab doesn't strict you in a specific ide?
hahaha naah, they also allow us to use our own laptop
olli
In the above code does it make any difference if I use p.x in printf instead of c.centre.x???
Yes p and c.center are different objects. Since you did not modify them after the copy assignment the output will be the same.
Anonymous
https://c-programming-dip.blogspot.com/2019/03/design-latin-square-in-c-programming-so.html?fbclid=IwAR1GJMRVP7_vy8C39Ee88tjLRjKewZ9CK7LpB4_Q2dZzFZ0UFd7J5rkhodw
Anonymous
Check it out
Rizky Khapidsyah
hii
Anonymous
Why it is not printing all args
Anonymous
Strange
BinaryByter
the return 0 not in the for loop!
Mihail
With the player=(player%2)?1:2, in understand it conditional ternary operator
You're taking the remainder of player divided by 2 and then if it's true(non-0) or false(0) you're either making player be equal to 1 or 2
Mihail
Also photos of screens are not allowed
Mihail
Screenshots exist
klimi
Welcome
klimi
Welcome
klimi
Welcome
Anonymous
Fun(fun()); Is this a valid function calling?
Anonymous
yes
The return type of the fun must be same as that of argument?
Parra
exactly
Parra
this is valid too
Parra
funcA(funcB(), funcC());