Questions tagged [cc]

cc is a common name for a C compiler executable or driver. It is the default for the $(CC) make variable. For email CC fields, please use [carbon-copy]. For Adobe CC, use [creative-cloud].

290 questions
0
votes
3 answers

Will variable declaration inside infinite loop in c cause stack overflow

This is a simple question, but I would just like to throw this out there and appreciate if anyone could validate if my understanding is correct or provide some more insight. My apologies in advance if this is a duplicate post. Eg. In the code…
Brandon Kynoch
  • 150
  • 1
  • 1
  • 7
0
votes
1 answer

"TypeError: Error #1010: A term is undefined and has no properties." in Adobe Animate

i am creating a game rn, and i have popup feature on my game,i make 2 popup for my game, but when i aplly the code for the second popup, it doesn't work, can you help me by seeing my code, thank you. there's an error appeared. TypeError: Error…
0
votes
0 answers

Stack-Based Overflow Error(strcpy and strncpy)

I have the below code, where the compiler is complaining: int len = strlen(prgpath); char* ptr = strrchr(prgpath, '/'); char prgname[64]; memset(prgname, 0, sizeof(prgname)); if (ptr==NULL) strcpy(prgname, prgpath); else …
Santosh Sahu
  • 2,134
  • 6
  • 27
  • 51
0
votes
2 answers

How to use less memory when compiling to avoid killing the build?

During using cc linker and cargo, I am repeatedly running into: = note: collect2: fatal error: ld terminated with signal 9 [Killed] compilation terminated. My VM has 4 gb of ram allocated to it, 14 gb free space, and set…
Random
  • 13
  • 3
0
votes
1 answer

Does GNU make implicitly compile .c files to .o files?

Noob question. I want to compile bar.c with object file foo.o to an executable bar. I have this in a Makefile: bar: foo.o cc bar.c foo.o -o bar I run $ make -n and get : cc -c -o foo.o foo.c cc bar.c foo.o -o bar I'm looking at the first…
wrosen01
  • 105
  • 5
0
votes
1 answer

ld: fatal: file bcPACplacebo.o: wrong ELF class: ELFCLASS32

Below are my environments that I am running my project which has C and CPP codes. uname -a: SunOS nzdrb12z 5.11 11.4.40.107.3 sun4v sparc sun4v non-global-zone cc -V: cc: Studio 12.6 Sun C 5.15 SunOS_sparc 2017/05/30 Currently facing following…
Puneeth
  • 419
  • 1
  • 6
  • 18
0
votes
1 answer

VBA: MailItem.CC Doesn't Seem to be Working

I've got some code designed to automatically send emails with attachments. It's been working 100% fine but I am now required to CC people as well. I thought it should be simple and added the .CC property to my MailItem but for the life of me I…
Zach Walsh
  • 23
  • 3
0
votes
0 answers

Error When making Shared Object (SO) from C Program Using CC Compiler

I am attempting to compile a simple C program into a .so file using the cc compiler on an AIX system. The program is: #include int main(int argc, char *argv[]) { printf("Hello, world\n"); return 0; } First, I created a .o file…
0
votes
0 answers

Accessing global variable with this-> pointer in C++?

#include void val(); int v=10; class test{ public: int v=11; void val() { printv(); } private: void printv() { int v=12; printf("V: %d",this->v); } }; int main() { test obj; …
Meganathan
  • 25
  • 6
0
votes
1 answer

How to load combobox value to CC field in Outlook VBA?

I have a userform combobox that allows users to select a project email. I want to be able to select this email, and click on a button in the userform which loads the email into the CC field. I've got this code right now, but it's giving me an error.…
0
votes
2 answers

google-script GmailApp.createDraft {cc:}

I cannot have CC in my reminder email generated from google sheets script. Here the code: //seleziono il file var file_ID = SpreadsheetApp.getActiveSpreadsheet().getId(); var file = DriveApp.getFileById(file_ID); //creo una matrice di…
0
votes
1 answer

No such file or directory error when using make

I am still relatively new to Linux, but I have an assignment in my operating systems class that involves several files. My professor gave us his makefile, but it isn't working for me. Make just returns errors. I know that I have all of the same…
Westyn D
  • 123
  • 9
0
votes
1 answer

How to kill Linux node processes based on their elapsed time?

I just finished a web scraping app made with puppeteer and node, and at this point in time it is very unstable due to relatively low to none experience with puppeteer (further debugs on it crashing is coming up). Sometimes, when running multiple…
Filip
  • 5
  • 1
0
votes
3 answers

Insert a copy of a row in a table and checking for duplicates

I am looking to copy 4 existing rows in a database and need to change the value of one of the columns in the new rows. I need to do this and also make sure that no duplicates are created. What I have so far is INSERT INTO table (col1, col2,…
smose
  • 145
  • 1
  • 11
0
votes
3 answers

Add user input to array of unknown size

I still pretty new to programming and my only prior experience before C was Javascript. I'm doing the CS50 Introduction to Computer Science and in one of the lectures there's an example code that computes the average of some user input. It looks…
Rafael Madriz
  • 51
  • 1
  • 6